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

C1 LIR instruction for load-klass

    XMLWordPrintable

Details

    • b26
    • x86, arm, ppc, x86_64, aarch64, s390x
    • generic

    Backports

      Description

        In C1, the load of a Klass* out of an object is currently identified by a load of type T_ADDRESS with offset oopDest::klass_offset_in_bytes(). When encountering such load, this may be decoded when +CompressedClassPointers. This is problematic and ugly: if we ever emit a T_ADDRESS load with offset 8 or 4 (== klass_offset_in_bytes) that is not a Klass*, we would attempt to decode the result. We have been lucky so far.

        Also, in Lilliput, we want to do something entirely different there, and need to be able to emit more complex code, possibly including runtime call.

        Attachments

          Issue Links

            Activity

              People

                rkennke Roman Kennke
                rkennke Roman Kennke
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: