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

Remove attempt_rebias parameter from revoke_and_rebias()

XMLWordPrintable

    • b12

      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.

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

              Created:
              Updated:
              Resolved: