Hi,

On 27.8.2015 14:41, Claes Redestad wrote:
Hi,

please review this patch to clean up and make
sun.management.HotspotCompilation
behave nice if the VM would decide to no longer expose per-compiler
thread perf counters:

webrev: http://cr.openjdk.java.net/~redestad/jdk9/8134583/webrev.00/
bug: https://bugs.openjdk.java.net/browse/JDK-8134583

When already changing this wouldn't it be easier to convert the 'threads' variable to List<CompilerThreadStat> and only add the info for existing compilers threads (eg. not leaving NULL slots in the array).

In 'getCompilerThreadStats' method the 'threads' array is converted to a list anyway.

-JB-


/Claes

Reply via email to