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

Convert vmIntrinsics::ID to enum class

XMLWordPrintable

    • b27

      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).

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

              Created:
              Updated:
              Resolved: