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

Mutex safepoint checking options and flags should be scoped enums

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 16
    • 16
    • hotspot
    • b23

    Description

      Making Mutex::SafepointCheckFlag and Mutex::SafepointCheckRequired be scoped enums would improve type checking in some places. For example, JDK-8255595 would have produced a compile-time error.

      Attachments

        Issue Links

          Activity

            People

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: