RFR: 8057586: Explicit GC ignored if GCLocker is active [v3]

Ivan Walulya iwalulya at openjdk.org
Tue Mar 28 18:30:20 UTC 2023


On Tue, 28 Mar 2023 15:51:09 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> https://bugs.openjdk.org/browse/JDK-8057573
>> 
>> Reproducer taken from here. Added minor changes to fit JTREG.
>> 
>> The alloc thread test makes for more robust testing, but not required.
>
> I don't get why having an alloc thread would improve/degrade the robustness of this test -- jni-call-thread and systemgc-thread should be enough.

The allocations trigger GCLocker Initiated GCs, so I prefer to keep them.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13191#discussion_r1151007249


More information about the hotspot-gc-dev mailing list