}
void
-sgen_set_bytes_allocated_attached(guint64 bytes)
+sgen_set_bytes_allocated_attached (guint64 bytes)
{
bytes_allocated_attached = bytes;
}
}
guint64
-mono_gc_get_total_allocated_bytes(MonoBoolean precise)
+mono_gc_get_total_allocated_bytes (MonoBoolean precise)
{
- if (precise)
- {
+ if (precise) {
LOCK_GC;
sgen_stop_world (0, FALSE);
- sgen_update_allocation_count();
+ sgen_update_allocation_count ();
sgen_restart_world (0, FALSE);
UNLOCK_GC;
info->tlab_real_end = NULL;
} FOREACH_THREAD_END
- sgen_set_bytes_allocated_attached(total_bytes_allocated_globally);
+ sgen_set_bytes_allocated_attached (total_bytes_allocated_globally);
}
void sgen_update_allocation_count (void)
total_bytes_allocated_globally += info->total_bytes_allocated;
} FOREACH_THREAD_END
- sgen_set_bytes_allocated_attached(total_bytes_allocated_globally);
+ sgen_set_bytes_allocated_attached (total_bytes_allocated_globally);
}
gboolean sgen_collection_is_concurrent (void);
gboolean sgen_get_concurrent_collection_in_progress (void);
-void sgen_set_bytes_allocated_attached(guint64);
+void sgen_set_bytes_allocated_attached (guint64);
typedef struct _SgenFragment SgenFragment;