C2: hide klass() accessor from TypeOopPtr and typeKlassPtr subclasses

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 18
    • Component/s: hotspot
    • b22

      This is a follow up to JDK-8266550. This is refactoring in an attempt to fix JDK-6312651. This is extracted from: https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2019-May/033803.html

      The goal of this one is to prevent code outside of the Type hierarchy from using the klass() accessor as once interfaces are properly supported a single klass pointer can't exhaustively represent a type.

            Assignee:
            Roland Westrelin
            Reporter:
            Roland Westrelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: