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

Arm: C2 always enters slowpath for monitorexit

    XMLWordPrintable

Details

    • b18
    • aarch32

    Backports

      Description

        Due to a small bug in the C2 implementation of monitorexit for stacklocked locks, we always enter slow path.

        AFAICS This is a day zero bug of the arm port and got introduced with JEP 297: "Unified arm32/arm64 Port".

        It has a significant effect on locking performance, but its effect had been hidden until JDK15 by biased locking. Biased locking removal made the bug appearant.

        Attachments

          Issue Links

            Activity

              People

                stuefe Thomas Stuefe
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: