C2: simplify modeling of fast locking/unlocking

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 24
    • Component/s: 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."

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

              Created:
              Updated: