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

C1: LIRGenerator::do_ClassIDIntrinsic ignores UseCompressedClassPointers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • generic
    • generic

      Other places in C1 that read the klass field use the type T_ADDRESS and the backend figures out the size based on UseCompressedClassPointers, but do_ClassIDIntrinsic computes the size this way:

          BasicType klass_pointer_type = NOT_LP64(T_INT) LP64_ONLY(T_LONG);

      which means reading 64 bits even when UseCompressedClassPointers is turned on.

            dlong Dean Long
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: