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

[mlvm] stress tests do not use STRESS_OPTIONS correctly

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      MLVM tests do not use STRESS_OPTIONS correctly. STRESS_OPTIONS are supposed to be set by user, not the test.


      For example, src/vm/mlvm/meth/stress/compiler/deoptimize/deoptimize.cfg contains

      ===
      EXECUTE_CLASS=vm.mlvm.meth.stress.compiler.deoptimize.Test
      JAVA_OPTS=${JAVA_OPTS} -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+PrintInlining
      TEST_ARGS=${TEST_ARGS} -stressThreadsFactor 10
      ===

      Instead of setting stressThreadsFactor, the test should set the number of threads itself and test config file should instead allow to override stress options by user:

      TEST_ARGS=${TEST_ARGS} $STRESS_OPTIONS

      Attachments

        Activity

          People

            Unassigned Unassigned
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Imported:
              Indexed: