There was an error while loading. Please reload this page.
1 parent b2dba8d commit 2d21db8Copy full SHA for 2d21db8
src/mono/mono/sgen/sgen-gc.h
@@ -1130,8 +1130,10 @@ typedef enum {
1130
} SgenAllocatorType;
1131
1132
void sgen_clear_tlabs (void);
1133
-void sgen_update_allocation_count (void);
1134
-guint64 sgen_get_total_allocated_bytes (MonoBoolean precise);
+void sgen_update_allocation_count (void)
+MONO_PERMIT (need (sgen_world_stopped));
1135
+guint64 sgen_get_total_allocated_bytes (MonoBoolean precise)
1136
+MONO_PERMIT (need (sgen_lock_gc, sgen_stop_world));
1137
1138
GCObject* sgen_alloc_obj (GCVTable vtable, size_t size)
1139
MONO_PERMIT (need (sgen_lock_gc, sgen_stop_world));
0 commit comments