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

C2: simplify modeling of fast locking/unlocking

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • hotspot

      Investigate, and simplify if possible, C2's modeling of fast locking/unlocking by embedding the effect of BoxLock into the FastLock/FastUnlock nodes.

      Suggestion from [~dlong]:

      "I know the front end uses the BoxLock for things like lock elimination (...). For the backend, all we need is the slot #. For FastLock/FastUnlock nodes, we could use a constant as the input instead of a BoxLockNode, or even remove the input and embedded the slot # in the FastLockNode at construction time. However the OSR entry point does use the BoxLock node as a memory address."

            Unassigned Unassigned
            rcastanedalo Roberto Castaneda Lozano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: