Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8222149

[lworld] Value type check/guard before synchronization is not hoisted out of the loop

    Details

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                roland Roland Westrelin
                Reporter:
                skuksenko Sergey Kuksenko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: