RFR: 8204476: Add additional statistics to CodeCache::print_summary

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Jun 7 16:20:11 UTC 2018

Hi René,

Change look good except changes to main print where you added full_count. This output is used by 
several tests and they will fail. Can you move it into your new print statement instead?


On 6/7/18 12:37 AM, René Schünemann wrote:
> Hi,
> can I please get a review for the following change:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8204476
> Webrev: http://cr.openjdk.java.net/~goetz/wr18/rene/webrev_8204476/01/
> This change adds the following:
> (1) In CodeCache::print_summary prints the code cache full count for
> each code heap.
> (2) Adds additional counters to class CompileBroker:
>      _total_compiler_stopped_count: The number of times the compilation
> has been stopped.
>      _total_compiler_restarted_count: The number of times the
> compilation has been restarted.
>     This counters are also added to CodeCache::print_summary.
> Thank you,
> Rene

More information about the hotspot-dev mailing list