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

C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Not all ideal nodes are added to the connection graph, it will result in a crash, though, if a node
        n that was not added to the connection graph is passed to ConnectionGraph::not_global_escape(Node* n).
        This case should be handled more gracefully by returning false.

        This is split off from JDK-8227745. There not_global_escape() is applied to the arguments of java
        calls. If e.g. one should be an integer constant not_global_escape() would crash.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rrich Richard Reingruber
                  Reporter:
                  rrich Richard Reingruber
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: