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

C2: Avoid redundant uncommon traps in GraphKit::builtin_throw() for JVMTI exception events

    XMLWordPrintable

Details

    • b06

    Backports

      Description

        The conditional uncommon trap near the entry of GraphKit::builtin_throw() at
        L534 [1] is redundant if the unconditional uncommon trap at L649 is also generated.

        The trap at [1] should be generated only if it is known that the trap at [2] is not reached.

        [1] https://github.com/openjdk/jdk/blob/561a3a5077a573c88ba94cb7f7412dfc4c97aa91/src/hotspot/share/opto/graphKit.cpp#L534
        [2] https://github.com/openjdk/jdk/blob/561a3a5077a573c88ba94cb7f7412dfc4c97aa91/src/hotspot/share/opto/graphKit.cpp#L649

        Attachments

          Issue Links

            Activity

              People

                rrich Richard Reingruber
                rrich Richard Reingruber
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: