Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8342958

Use jvmArgs consistently in microbenchmarks

XMLWordPrintable

    • b22

        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.

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: