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

C1: LIRGenerator::move_to_phi can't deal with illegal phi

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b114

      C1 can't deal with illegal Phi functions which propagate into other Phi functions.
      Phi functions get illegal when their inputs have different types.
      This was observed when we activated the JVMTI capability can_access_local_variables and restored the old behavior of BlockBegin::try_merge: invalidate the phi functions instead of bailing out.
      The function LIRGenerator::move_to_phi crashes in this case.

      Proposed fix is to bail out as this case happens extremely rarely. Seems like it was never observed with the new behavior of BlockBegin::try_merge.

            mdoerr Martin Doerr
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: