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

Chris Plummer cjplummer at openjdk.java.net
Thu Feb 4 03:42:45 UTC 2021


On Thu, 4 Feb 2021 02:58:52 GMT, Lin Zang <lzang at openjdk.org> wrote:

>  I am not reviewer, but maybe you could add test for "parallel" in BasicJMapTest.java.

That test is for the `jmap` command, not the `GC.class_histogram` jcmd. As I pointed out, there are tests in `test/hotpot/jtreg/serviceability/dcmd/gc` that already test `GC.class_histogram`. That would be a better starting point.

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

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


More information about the serviceability-dev mailing list