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

fix for return address locals in OSR entries uses wrong test

    XMLWordPrintable

Details

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

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: