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

Improve code and implicit null check generation for comressed oops

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • hs14
    • hs14
    • hotspot
    • b06
    • sparc
    • solaris_10

    Backports

      Description

        Currently C2 often generats redundant tests against null:

             decode_heap_oop R11,R10
             testl R10, R10 # compressed ptr
             jeq B75 P=0.000001 C=-1.000000

        decode_heap_oop also contains a test of R10 that's not exposed to the optimizer.

        Attachments

          Issue Links

            Activity

              People

                kvn Vladimir Kozlov
                kvn Vladimir Kozlov
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: