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

Improve code and implicit null check generation for comressed oops

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: