C2: TypeKlassPtr and TypeInstPtr types should not intersect

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None

      Klasses were objects in PermGen world, but now they aren't.
      Untangle TypeKlassPtr and TypeInstPtr.

      //------------------------------TypeInstPtr------------------------------------
      // Class of Java object pointers, pointing either to non-array Java instances
      // or to a Klass* (including array klasses).
      class TypeInstPtr : public TypeOopPtr {

        static const TypeInstPtr *KLASS;

            Assignee:
            Vladimir Ivanov
            Reporter:
            Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: