White space, naming convetions.
authorNathan Ricci <naricc@microsoft.com>
Wed, 11 Sep 2019 18:43:06 +0000 (14:43 -0400)
committerNathan Ricci <naricc@microsoft.com>
Wed, 11 Sep 2019 18:43:06 +0000 (14:43 -0400)
Commit migrated from https://github.com/mono/mono/commit/4acfcef038133d4944b342d87088e38896d1c990

src/mono/mono/metadata/sgen-mono.c
src/mono/mono/sgen/sgen-alloc.c
src/mono/mono/sgen/sgen-gc.h

index f2e7a47..aebcdbc 100644 (file)
@@ -2055,7 +2055,7 @@ sgen_client_thread_detach_with_lock (SgenThreadInfo *p)
 
        mono_tls_set_sgen_thread_info (NULL);
 
-       increment_bytes_allocated_detached (p->total_bytes_allocated);
+       sgen_increment_bytes_allocated_detached (p->total_bytes_allocated);
 
        tid = mono_thread_info_get_tid (p);
 
@@ -2497,8 +2497,6 @@ mono_gc_get_los_limit (void)
        return SGEN_MAX_SMALL_OBJ_SIZE;
 }
 
-
-
 guint64
 mono_gc_get_allocated_bytes_for_current_thread (void)
 {
@@ -2515,9 +2513,6 @@ mono_gc_get_total_allocated_bytes (MonoBoolean precise)
        return sgen_get_total_allocated_bytes (precise);
 }
 
-
-
-
 gpointer
 sgen_client_default_metadata (void)
 {
index b45110f..04ffab7 100644 (file)
@@ -548,7 +548,7 @@ sgen_set_bytes_allocated_attached (guint64 bytes)
 }
 
 void
-increment_bytes_allocated_detached(guint64 bytes) 
+sgen_increment_bytes_allocated_detached (guint64 bytes) 
 {
        bytes_allocated_detached += bytes;
 }
index 35a4665..cad2a74 100644 (file)
@@ -478,7 +478,7 @@ gboolean sgen_collection_is_concurrent (void);
 gboolean sgen_get_concurrent_collection_in_progress (void);
 
 void sgen_set_bytes_allocated_attached (guint64 bytes);
-void increment_bytes_allocated_detached(guint64 bytes);
+void sgen_increment_bytes_allocated_detached (guint64 bytes);
 
 typedef struct _SgenFragment SgenFragment;