RFR: 8324756: Remove dependency verification from vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java

Ian Myers imyers at openjdk.org
Wed May 1 17:59:02 UTC 2024


This change removes dependency verification by passing -XX:-VerifyDependencies in the test.

`vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java` takes 20min to run on linux-x86_64-server-fastdebug:

time CONF=linux-x86_64-server-fastdebug make test TEST=vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java
CONF=linux-x86_64-server-fastdebug make test   **1412.82s user 15.27s system 115% cpu 20:41.19 total**


Passing -XX:-VerifyDependencies flag speeds up the run time to 1min:

time CONF=linux-x86_64-server-fastdebug make test TEST=vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java TEST_VM_OPTS="-XX:-VerifyDependencies"
CONF=linux-x86_64-server-fastdebug make test    **287.27s user 16.19s system 496% cpu 1:01.10 total**


Adding -XX:-VerifyDependencies to the test file accomplishes the same run time of 1min:

time CONF=linux-x86_64-server-fastdebug make test TEST=vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java
CONF=linux-x86_64-server-fastdebug make test   **272.33s user 14.56s system 464% cpu 1:01.75 total**

-------------

Commit messages:
 - Remove dependency verification from vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java

Changes: https://git.openjdk.org/jdk/pull/19040/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19040&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8324756
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/19040.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19040/head:pull/19040

PR: https://git.openjdk.org/jdk/pull/19040


More information about the hotspot-compiler-dev mailing list