RFR: 8300693: Lower the compile threshold and reduce the iterations of warmup loop in VarHandles tests [v2]

Mandy Chung mchung at openjdk.org
Fri Jan 20 17:45:46 UTC 2023


> `java/lang/invoke/VarHandles` tests run with C1, C2 and tiered compilations and the test cases are executed in the warm up loop with 20000 iterations to verify C1, C2 intrinsics.  Default Tier4CompileThreshold is 15000.
> 
> This PR proposes to scale the compile threshold to 0.1 such that the warm up loop can be reduced to 2000 iterations.  This will speed up the test execution time.
> 
> 
> Before:
> make test-only TEST=open/test/jdk/java/lang/invoke/VarHandles  341.06s user 14.65s system 563% cpu 1:03.14 total
> 
> After:
> make test-only TEST=open/test/jdk/java/lang/invoke/VarHandles  234.38s user 13.08s system 535% cpu 46.218 total

Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:

  move the comment to @comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12104/files
  - new: https://git.openjdk.org/jdk/pull/12104/files/0e003531..82382291

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

  Stats: 128 lines in 27 files changed: 74 ins; 54 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/12104.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12104/head:pull/12104

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


More information about the core-libs-dev mailing list