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

Mutex safepoint checking options and flags should be scoped enums

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: