From 1722072896c3eb19be0bb4b95e907c9730afac8d Mon Sep 17 00:00:00 2001 From: Nathan Ricci Date: Wed, 11 Sep 2019 14:28:16 -0400 Subject: [PATCH] White space issues, typos. Commit migrated from https://github.com/mono/mono/commit/b88d67d5641df6d60233fa582c67f31c97de3a45 --- src/mono/mono/metadata/sgen-mono.c | 2 +- src/mono/mono/sgen/sgen-alloc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mono/mono/metadata/sgen-mono.c b/src/mono/mono/metadata/sgen-mono.c index c9c57af..f2e7a47 100644 --- a/src/mono/mono/metadata/sgen-mono.c +++ b/src/mono/mono/metadata/sgen-mono.c @@ -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); + increment_bytes_allocated_detached (p->total_bytes_allocated); tid = mono_thread_info_get_tid (p); diff --git a/src/mono/mono/sgen/sgen-alloc.c b/src/mono/mono/sgen/sgen-alloc.c index e096dee..b45110f 100644 --- a/src/mono/mono/sgen/sgen-alloc.c +++ b/src/mono/mono/sgen/sgen-alloc.c @@ -47,11 +47,11 @@ static guint64 stat_bytes_alloced = 0; static guint64 stat_bytes_alloced_los = 0; #endif -/* The total number of bytes allocated so far in program exection by all attached threads. +/* The total number of bytes allocated so far in program execution by all attached threads. * This is not constantly syncrhonized, but only updated on each GC. */ static guint64 bytes_allocated_attached = 0; -/* Total bytes allocated so far in program exevution by detached threads */ +/* Total bytes allocated so far in program execution by detached threads */ static guint64 bytes_allocated_detached = 0; /* -- 2.7.4