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

Ian Myers imyers at openjdk.org
Wed May 15 09:26:27 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 incrementally with one additional commit since the last revision:

  [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/4a338e7f..aa3bb0b6

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

  Stats: 16 lines in 2 files changed: 1 ins; 15 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