-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 21
-
b07
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8311482 | 17.0.9 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
java/lang/invoke/VarHandles tests run with C1, C2 and tiered compilations and run the test cases in the warm up loop with 20000 iterations to verify C1, C2 intrinsics. Default Tier4CompileThreshold is 15000.
Scale the compile threshold to 0.1 will allow the warm up loop to reduce the number of iterations and the test execution time.
$ java -XX:CompileThresholdScaling=0.1 -XX:+PrintFlagsFinal | grep CompileThreshold
intx CompileThreshold = 1000 {pd product} {ergonomic}
double CompileThresholdScaling = 0.100000 {product} {command line}
uintx IncreaseFirstTierCompileThresholdAt = 50 {product} {default}
intx Tier2CompileThreshold = 0 {product} {default}
intx Tier3CompileThreshold = 200 {product} {ergonomic}
intx Tier4CompileThreshold = 1500 {product} {ergonomic}
Scale the compile threshold to 0.1 will allow the warm up loop to reduce the number of iterations and the test execution time.
$ java -XX:CompileThresholdScaling=0.1 -XX:+PrintFlagsFinal | grep CompileThreshold
intx CompileThreshold = 1000 {pd product} {ergonomic}
double CompileThresholdScaling = 0.100000 {product} {command line}
uintx IncreaseFirstTierCompileThresholdAt = 50 {product} {default}
intx Tier2CompileThreshold = 0 {product} {default}
intx Tier3CompileThreshold = 200 {product} {ergonomic}
intx Tier4CompileThreshold = 1500 {product} {ergonomic}
- backported by
-
JDK-8311482 Lower the compile threshold and reduce the iterations of warmup loop in VarHandles tests
- Resolved
- relates to
-
JDK-8294147 Review running times of java.lang.invoke regression tests
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/4d261efd
-
Commit openjdk/jdk/86fed796
-
Review openjdk/jdk17u-dev/1538
-
Review openjdk/jdk/12104
(1 links to)