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

Refactor PlatformMonitor into PlatformMutex and PlatformMonitor

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • hotspot
    • b10

      As suggested by Per Liden when PlatformMonitor was introduced by JDK-8210832 we should refactor PlatformMonitor into a simpler PlatformMutex extended by PlatformMonitor. That would potentially allow other synchronization objects e.g. Zlocks, to be replaced by a suitable PlatformX class.

      As Per noted we need to look at the construction/destruction issues surrounding such usages. In general deleting a synchronization object has to be very carefully managed.

            dholmes David Holmes
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: