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

Consider replacing muxAcquire/Release with PlatformMonitor

    Details

    • Subcomponent:
    • Understanding:
      Cause Known

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dholmes David Holmes
                Reporter:
                kbarrett Kim Barrett
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: