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

Consider replacing muxAcquire/Release with PlatformMonitor

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b26

      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:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: