Merge pull request #2977 from BrzVlad/fix-major-log2
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 18 May 2016 23:41:50 +0000 (16:41 -0700)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 18 May 2016 23:41:50 +0000 (16:41 -0700)
[sgen] Improve logging

1  2 
mono/metadata/sgen-mono.c
mono/sgen/sgen-gc.c
mono/sgen/sgen-gc.h

index 644c9ba93cd893c25d3c271d18d1a82bd69cf524,63d16f620d468c1655f9ffb6cee487d029382653..c7a467ce832b3696afca54df2258b153424dd50e
@@@ -2726,9 -2726,9 +2726,9 @@@ sgen_client_log_timing (GGTimingInfo *i
        full_timing_buff [0] = '\0';
  
        if (!info->is_overflow)
 -              sprintf (full_timing_buff, "total %.2fms, bridge %.2fms", info->stw_time / 10000.0f, (int)info->bridge_time / 10000.0f);
 +              sprintf (full_timing_buff, "total %.2fms", info->stw_time / 10000.0f);
        if (info->generation == GENERATION_OLD)
-               mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_GC, "GC_MAJOR%s: (%s) pause %.2fms, %s los %dK/%dK",
+               mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_GC, "GC_MAJOR%s: (%s) pause %.2fms, %s los size: %dK in use: %dK",
                        info->is_overflow ? "_OVERFLOW" : "",
                        info->reason ? info->reason : "",
                        (int)info->total_time / 10000.0f,
Simple merge
Simple merge