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

Add back UseHeavyMonitors as a develop option

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • None
    • hotspot

      Add back UseHeavyMonitors as a develop option if wanted to replace LockingMode=LM_MONITOR. Also fix platform dependent code:

      static bool useHeavyMonitors() {
      #if defined(X86) || defined(AARCH64) || defined(PPC64) || defined(RISCV64) || defined(S390)
        return LockingMode == LM_MONITOR;
      #else
        return false;
      #endif
      }

      Why is ARM excluded?

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: