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

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

        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.

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

                Created:
                Updated:
                Resolved: