-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b22
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8353017 | 21.0.8 | Sendao Yan | P4 | Resolved | Fixed | master |
Currently in the OpenJDK corpus of JMH microbenchmarks all different @Fork(jvmArgs/-Append/-Prepend = ) options are used.
143 uses of jvmArgsAppend
59 uses of jvmArgsPrepend
18 uses of jvmArgs
This makes for some surprises and makes it easy to override configured flags when setting up and running chunks of microbenchmarks.
I propose we consolidate on @Fork(jvmArgs = ..) as the preferred option in microbenchmarks, leaving `-jvmArgsAppend` and `-jvmArgsPrepend` free for use by ops.
143 uses of jvmArgsAppend
59 uses of jvmArgsPrepend
18 uses of jvmArgs
This makes for some surprises and makes it easy to override configured flags when setting up and running chunks of microbenchmarks.
I propose we consolidate on @Fork(jvmArgs = ..) as the preferred option in microbenchmarks, leaving `-jvmArgsAppend` and `-jvmArgsPrepend` free for use by ops.
- backported by
-
JDK-8353017 Use jvmArgs consistently in microbenchmarks
-
- Resolved
-
- relates to
-
JDK-8349943 [JMH] Use jvmArgs consistently
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk21u-dev/7ae30385
-
Commit(master) openjdk/jdk/90bd5445
-
Review(master) openjdk/jdk21u-dev/1403
-
Review(master) openjdk/jdk/21683
(1 links to)