RFR: 8286681: ShenandoahControlThread::request_gc misses the case of GCCause::_codecache_GC_threshold

Alan Bateman alanb at openjdk.java.net
Fri May 13 06:39:49 UTC 2022


On Fri, 13 May 2022 02:43:55 GMT, Jie Fu <jiefu 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.

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

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


More information about the core-libs-dev mailing list