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

C2: ConnectionGraph::find_inst_mem() should not be recursive

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      In JDK-8276157, Vladimir says:

      "To actually fix the issue we would need to re-write recursive method ConnectionGraph::find_inst_mem() to normal method using Node_Stack or other C2's structures without recursion. Please, file RFE. May be also add check that it is not infinite recursion."

      This would fix some stack overflows during escape analysis.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xliu Xin Liu
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: