-
Type:
Bug
-
Status: Closed
-
Priority:
P3
-
Resolution: Duplicate
-
Affects Version/s: repo-valhalla
-
Fix Version/s: repo-valhalla
-
Component/s: hotspot
-
Labels:
-
Subcomponent:
Value type check/guard before synchronization is not hoisted out of the loop even if it's possible (locking object is invariant to the loop).
Some benchmarks show up to 30% perf regression.
Benchmark location: http://cr.openjdk.java.net/~skuksenko/valhalla/legacy/benchmarks/
Benchmark: Lock.loopLock
Some benchmarks show up to 30% perf regression.
Benchmark location: http://cr.openjdk.java.net/~skuksenko/valhalla/legacy/benchmarks/
Benchmark: Lock.loopLock
- duplicates
-
JDK-8222148 [lworld] Value type check(guard) causes not working lock coarsening optimization.
-
- Resolved
-
- relates to
-
JDK-8206905 [lworld] Improve handling of monitorenter on value type
-
- Closed
-