Is it possible to enlarge _safepoint_stats output field width a little?

=?gb2312?B?0LvBvA==?= xieliang at xiaomi.com
Mon May 6 23:40:28 PDT 2013


Hi hotspot-runtime-dev,

we observed safepoint statistic log like this in our production env:

         vmop                    [threads: total initially_running wait_to_block]    [time: spin block sync cleanup vmop] page_trap_count
4426.473: no vm operation                  [     330          0              3    ]      [     0     4123080     0     0    ]  0

seems we could not distinguish the "block" and "sync" value here:)  i known the "sync" cost 123.08s after learning code:  

void SafepointSynchronize::print_statistics() {
...
    tty->print("  ["
               INT64_FORMAT_W(6)INT64_FORMAT_W(6)
...
}

Here just a trivial request: could we enlarge "6" to a bigger one, like 7 or 8 ? it will make the output more readable under corner cases like mine.

Thanks,



More information about the hotspot-runtime-dev mailing list