RFR: 8272856: DoubleFlagWithIntegerValue uses G1GC-only flag

Igor Ignatyev iignatyev at openjdk.java.net
Mon Aug 23 23:01:44 UTC 2021

Hi all,

could you please review the patch which replaces the flag used by `DoubleFlagWithIntegerValue` to `SweeperThreshold`? 

from JBS:
> `runtime/CommandLine/DoubleFlagWithIntegerValue.java` test uses `G1ConcMarkStepDurationMillis` flag which is available only on the builds w/ G1 GC, hence this test might fail on the builds where G1 is disabled. 
> instead of adding `@requires` to exclude the test from running on builds w/o G1, the test can be updated to use the flag that is available in all builds.

testing: `runtime/CommandLine/DoubleFlagWithIntegerValue.java`  on `{linux,windows,macosx}-x64`

-- Igor


Commit messages:
 - 8272856

Changes: https://git.openjdk.java.net/jdk/pull/5233/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5233&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8272856
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5233.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5233/head:pull/5233

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

More information about the hotspot-runtime-dev mailing list