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

Convert vmIntrinsics::ID to enum class

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b27

      Description

      Convert vmIntrinsics::SID to enum class to provide better type safety.

      Also, put this enum class in the top level, so it can be forward-declared. I.e.,

      enum class vmIntrinsicID : int;

      This avoids excessive inclusion of vmIntrinsics.hpp (which currently is included indirectly in almost every hotspot source files).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: