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

Move PlatformXXX class declarations out of os_xxx.hpp

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • b05

    Description

      There are only two implementations of these classes (one for windows, and one for posix):

      -ThreadCrashProtection
      -PlatformEvent
      -PlatformParker
      -PlatformMutex
      -PlatformMonitor

      Now they are declared in os_xxx.hpp. This causes excessive inclusion of the large header file os.hpp by popular headers such as mutex.hpp, which needs only the declaration of PlatformMutex but not the other stuff in os.hpp

      We should move these classes with the same pattern as JDK-8130039

      Attachments

        Issue Links

          Activity

            People

              iklam Ioi Lam
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: