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

[mlvm] Add iterations option to vm.mlvm.share.MlvmTest

    XMLWordPrintable

    Details

      Description

      Many MLVM tests use iterations. Currently they take iterations number incorrectly from StressOptions.getIterationsFactor().

      A. Need to add the following to MlvmTest:
      1. iterations option (using vm.share.options framework: name = "iterations", default_value = "1")
      2. getIterations() method which takes the option value multiplied by StressOptions.getIterationsFactor()
      3. Constructor with iterations argument, so tests can define number of iterations from Java code and this number could be overriden with command-line option
      4. Modify createStresser() method to use the method above

      B. Need to modify existing MLVM tests to use the new option instead of -stressIterationsFactor

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kshiroko Kirill Shirokov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: