RFR: 8286681: ShenandoahControlThread::request_gc misses the case of GCCause::_codecache_GC_threshold
Jie Fu
jiefu at openjdk.java.net
Fri May 13 06:50:52 UTC 2022
On Fri, 13 May 2022 06:36:42 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Hi all,
>>
>> Some tests fail with Shenandoah GC after JDK-8282191.
>> The reason is that the assert in `ShenandoahControlThread::request_gc` misses the case of `GCCause::_codecache_GC_threshold`.
>> It would be better to fix it.
>>
>> Thanks.
>> Best regards,
>> Jie
>
> test/jdk/java/foreign/TestIntrinsics.java line 48:
>
>> 46: * -XX:+UseShenandoahGC
>> 47: * TestIntrinsics
>> 48: */
>
> Is this needed? The parameters looks the same as the first test description so if you are testing with +ShenandoahGC then it will run already.
Without `-XX:+UseShenandoahGC`, this bug wouldn't be exposed.
What do you mean by `if you are testing with +ShenandoahGC then it will run already`?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8691
More information about the core-libs-dev
mailing list