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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: