RFR: 8144: Add rule to detect GC Inverted Parallelism

Francesco Nigro duke at openjdk.org
Sat Dec 2 15:51:52 UTC 2023


On Mon, 20 Nov 2023 18:21:35 GMT, Alex Macdonald <aptmac 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?
>
>> 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.

Nice @aptmac 👍👍

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

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


More information about the jmc-dev mailing list