RFR: 8349943: [JMH] Use jvmArgs consistently

Nicole Xu duke at openjdk.org
Thu Feb 13 08:42:24 UTC 2025


As is suggested in [JDK-8342958](https://bugs.openjdk.org/browse/JDK-8342958), `jvmArgs` should be used consistently in microbenchmarks to 'align with the intuition that when you use jvmArgsAppend/-Prepend intent is to add to a set of existing flags, while if you supply jvmArgs intent is "run with these and nothing else"'.

All the previous flags were aligned in https://github.com/openjdk/jdk/pull/21683, while some recent tests use inconsistent `jvmArgs` again. We update them to keep the consistency.

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

Commit messages:
 - 8349943: [JMH] Use jvmArgs consistently

Changes: https://git.openjdk.org/jdk/pull/23609/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23609&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349943
  Stats: 20 lines in 9 files changed: 2 ins; 0 del; 18 mod
  Patch: https://git.openjdk.org/jdk/pull/23609.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23609/head:pull/23609

PR: https://git.openjdk.org/jdk/pull/23609


More information about the core-libs-dev mailing list