projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98e050
)
[sgen] Add necessary type cast.
author
Mark Probst
<mark.probst@gmail.com>
Fri, 15 Jan 2016 01:52:41 +0000
(17:52 -0800)
committer
Mark Probst
<mark.probst@gmail.com>
Fri, 12 Feb 2016 18:03:34 +0000
(10:03 -0800)
mono/metadata/sgen-mono.c
patch
|
blob
|
history
diff --git
a/mono/metadata/sgen-mono.c
b/mono/metadata/sgen-mono.c
index 74ee377c49a8eb5f2275bbc7f8f2e9539398b801..8f86228dce17bece01892b1e24934f67aa7af264 100644
(file)
--- a/
mono/metadata/sgen-mono.c
+++ b/
mono/metadata/sgen-mono.c
@@
-2738,7
+2738,7
@@
sgen_client_degraded_allocation (size_t size)
static int last_major_gc_warned = -1;
static int num_degraded = 0;
- if (last_major_gc_warned < gc_stats.major_gc_count) {
+ if (last_major_gc_warned <
(int)
gc_stats.major_gc_count) {
++num_degraded;
if (num_degraded == 1 || num_degraded == 3)
mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_GC, "Warning: Degraded allocation. Consider increasing nursery-size if the warning persists.");