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

fix for return address locals in OSR entries uses wrong test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs17
    • hs17
    • hotspot
    • None
    • b11
    • sparc
    • solaris_9

        The fix for 6915557 is attempting to handle locals containing return address specially but the test it's using is wrong. C2's type system smears together T_ADDRESS with raw pointer types, so TypePtr::NULL_PTr->basic_type() == T_ADDRESS so the logic will trigger for locals which are provably null resulting in asserts later. The correct fix is to test the ciType or local which correctly distinguishes these cases.

              never Tom Rodriguez
              never Tom Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: