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

C2: TypeKlassPtr and TypeInstPtr types should not intersect

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • 9
    • 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;

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

              Created:
              Updated:
              Resolved: