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.

            Assignee:
            David Holmes
            Reporter:
            Kim Barrett
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: