RFR: JDK-8261034: improve jcmd GC.class_histogram to support parallel [v3]

Serguei Spitsyn sspitsyn at openjdk.java.net
Sat Feb 20 11:16:47 UTC 2021


On Fri, 5 Feb 2021 02:40:13 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> src/hotspot/share/services/diagnosticCommand.cpp line 562:
>> 
>>> 560:        "0 use system determined number of threads, "
>>> 561:        "1 use one thread, i.e., disable parallelism, "
>>> 562:        "n use n threads, n must be positive.",
>> 
>> "Number of parallel threads for heap iteration. "
>>        "0 means let the VM determined the number of threads. "
>>        "1 means use one thread, i.e. disable parallelism. "
>>        "n means use n threads. n must be positive.",
>
> Thanks for detailed review, Chris, just modified as you suggested.

I like this approach - good idea.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2379


More information about the hotspot-runtime-dev mailing list