RFR: 8324756: Test vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize is too slow due to dependency verification [v3]

Ian Myers imyers at openjdk.org
Wed May 15 09:19:30 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**

Ian Myers has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'openjdk:master' into fix-8324756
 - [8324756] Remove dependency verification from vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19040/files
  - new: https://git.openjdk.org/jdk/pull/19040/files/99314e02..c2a6a66d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19040&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19040&range=01-02

  Stats: 29262 lines in 763 files changed: 15869 ins; 8113 del; 5280 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