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

GraphKit::combine_exception_states fails with "matching stack sizes" assert

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 17, 18
    • Fix Version/s: 19
    • Component/s: hotspot
    • Labels:

      Description

      When two exception states are combined with different stack sizes, we hit this assert:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/oracle/jdk/open/src/hotspot/share/opto/graphKit.cpp:348), pid=492513, tid=492526
      # assert(ex_jvms->sp() == phi_map->_jvms->sp()) failed: matching stack sizes

      We have two workarounds so far: JDK-8275638 and JDK-8273165. We should remove these workarounds and implement a permanent fix.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vaivanov Vladimir Ivanov
              Reporter:
              dlong Dean Long
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: