Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sgen] Add Ward annotations to sgen_get_total_allocated_bytes #43833

Merged
merged 1 commit into from
Nov 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/mono/mono/sgen/sgen-gc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1130,8 +1130,10 @@ typedef enum {
} SgenAllocatorType;

void sgen_clear_tlabs (void);
void sgen_update_allocation_count (void);
guint64 sgen_get_total_allocated_bytes (MonoBoolean precise);
void sgen_update_allocation_count (void)
MONO_PERMIT (need (sgen_world_stopped));
guint64 sgen_get_total_allocated_bytes (MonoBoolean precise)
MONO_PERMIT (need (sgen_lock_gc, sgen_stop_world));

GCObject* sgen_alloc_obj (GCVTable vtable, size_t size)
MONO_PERMIT (need (sgen_lock_gc, sgen_stop_world));
Expand Down