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

Consider replacing muxAcquire/Release with PlatformMonitor

XMLWordPrintable

    • b26

      Thread::muxAcquire and Thread::muxRelease provide a low-level mutual exclusion mechanism. It might be better to remove them and instead use os::PlatformMonitor instead. One tricky part might be initialization, since the "lock" for the mux operations is just an intptr_t, and they can be (and are) a file-scoped static.

            dholmes David Holmes
            kbarrett Kim Barrett
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: