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

XMLWordPrintable

    • b14
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved: