PPC64: compiler_fast_unlock_object flags failure instead of success

XMLWordPrintable

    • b20
    • ppc
    • generic

      At

      https://github.com/openjdk/jdk/blob/dcac4b0a532f2ca6cb374da7ece331e8266ab351/src/hotspot/cpu/ppc/macroAssembler_ppc.cpp#L2742

      ObjectMonitor::_succ is compared to null. Not equal means the unlock operation was successfully completed. This should be signaled by setting `flag` to EQ but instead it is NE at the end of the operation. Consequently the slow path will be taken to complete the monitor exit in the runtime.

            Assignee:
            Richard Reingruber
            Reporter:
            Richard Reingruber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: