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

Bug in locking code when UseOptoBiasInlining is disabled: assert(dmw->is_neutral()) failed: invariant

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 8u40, 9
    • hotspot
    • b42
    • x86
    • Verified

    Backports

      Description

        MacroAssembler::fast_lock uses biased_locking_enter with swap_reg_contains_mark==true, which is no longer correct after biased_locking_enter was put in front of check for IsInflated.
        This happened in 8033805: Move Fast_Lock Fast_Unlock code from .ad files to macroassembler.

        Attachments

          Issue Links

            Activity

              People

                mdoerr Martin Doerr
                goetz Goetz Lindenmaier
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: