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

Remove attempt_rebias parameter from revoke_and_rebias()

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      We only attempt to rebias when calling revoke_and_rebias() from ObjectSynchronizer::fast_enter() after failing to grab the lock in the interpreter or compiler code. In all other places we pass false for that argument. In any case, rebiasing will only succeed in cases where we end up in a bulk rebiasing operation which is not common. Another case where rebiasing could succeed is if we try to revoke with a handshake but it fails and we need to loop again, but that's even less common.

        Attachments

          Activity

            People

            • Assignee:
              pchilanomate Patricio Chilano Mateo
              Reporter:
              pchilanomate Patricio Chilano Mateo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: