p = major_collector.alloc_degraded (vtable, size);
if (!for_mature)
- binary_protocol_alloc_degraded (p, vtable, size);
+ binary_protocol_alloc_degraded (p, vtable, size, sgen_client_get_provenance ());
return p;
}
CANARIFY_ALLOC(p,real_size);
SGEN_LOG (6, "Allocated object %p, vtable: %p (%s), size: %zd", p, vtable, sgen_client_vtable_get_name (vtable), size);
- binary_protocol_alloc (p , vtable, size);
+ binary_protocol_alloc (p , vtable, size, sgen_client_get_provenance ());
g_assert (*p == NULL);
mono_atomic_store_seq (p, vtable);
if (G_LIKELY (p)) {
SGEN_LOG (6, "Allocated object %p, vtable: %p (%s), size: %zd", p, vtable, sgen_client_vtable_get_name (vtable), size);
- binary_protocol_alloc (p, vtable, size);
+ binary_protocol_alloc (p, vtable, size, sgen_client_get_provenance ());
mono_atomic_store_seq (p, vtable);
}
CANARIFY_ALLOC(p,real_size);
SGEN_LOG (6, "Allocated object %p, vtable: %p (%s), size: %zd", p, vtable, sgen_client_vtable_get_name (vtable), size);
- binary_protocol_alloc (p, vtable, size);
+ binary_protocol_alloc (p, vtable, size, sgen_client_get_provenance ());
g_assert (*p == NULL); /* FIXME disable this in non debug builds */
mono_atomic_store_seq (p, vtable);
}
if (G_LIKELY (p)) {
SGEN_LOG (6, "Allocated pinned object %p, vtable: %p (%s), size: %zd", p, vtable, sgen_client_vtable_get_name (vtable), size);
- binary_protocol_alloc_pinned (p, vtable, size);
+ binary_protocol_alloc_pinned (p, vtable, size, sgen_client_get_provenance ());
}
UNLOCK_GC;
return p;