RFR: JDK-8311026: Some G1 specific tests do not set -XX:+UseG1GC

Serguei Spitsyn sspitsyn at openjdk.org
Fri Jun 30 08:29:07 UTC 2023


On Fri, 30 Jun 2023 08:11:47 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Most G1 tests set -XX:+UseG1GC, but a few (e.g. gc/g1/TestVerificationInConcurrentCycle.java) miss that.
> This is usually just fine and no problem because G1 is the default anyway.
> However in some cases, where a custom JVM changes the default GC, those tests start to fail which is not really necessary.

Looks good.
Thanks,
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14722#pullrequestreview-1506747461


More information about the core-libs-dev mailing list