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

Test vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize is too slow due to dependency verification

XMLWordPrintable

      The vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize is part of tier4. It runs exclusively, and takes >15 minutes (!) to run on Linux x86_64 fastdebug:

      % time CONF=linux-x86_64-server-fastdebug make images test TEST=vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java
      CONF=linux-x86_64-server-fastdebug make images test 1199.18s user 9.26s system 113% cpu 17:41.75 total

      The test constantly creates MH trees, and `perf` shows we are spending most of the time in checking klass dependencies. Running with `-XX:-VerifyDependencies` cuts the test time enormously:

      % time CONF=linux-x86_64-server-fastdebug make images test TEST=vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java TEST_VM_OPTS="-XX:-VerifyDependencies"
      CONF=linux-x86_64-server-fastdebug make images test 173.69s user 9.92s system 478% cpu 38.355 total

            imyers Ian Myers
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: