RFR: 8144: Add rule to detect GC Inverted Parallelism

Alex Macdonald aptmac at openjdk.org
Mon Nov 20 18:24:06 UTC 2023


On Fri, 17 Nov 2023 21:29:19 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

> Looks good. Perhaps a JDK 20 recording should be added to the tests so that some of the rule code is exercised from a recording/events?

I've added two recordings here, taken on jdk21:
- **jdk21-inverted-parallelism.jfr**: has jdk.GCCPUTime enabled, and runs for ~10 seconds on a stress test application to force an instance of inverted parallelism
- **jdk21.jfr**: enables all events (minus the ones that have my system information), and runs on JMC itself for 1 minute

Also added a requirement on jdk.GCConfiguration for GcInvertedParallelismRule, and rebased ontop of master.

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

PR Comment: https://git.openjdk.org/jmc/pull/528#issuecomment-1819584400


More information about the jmc-dev mailing list