Improve code and implicit null check generation for comressed oops

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • hs14
    • Affects Version/s: hs14
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: