Mercurial > hg > truffle
diff src/share/vm/opto/escape.hpp @ 1100:f96a1a986f7b
6895383: JCK test throws NPE for method compiled with Escape Analysis
Summary: Add missing checks for MemBar nodes in EA.
Reviewed-by: never
author | kvn |
---|---|
date | Wed, 09 Dec 2009 16:40:45 -0800 |
parents | c3e045194476 |
children | 7fee0a6cc6d4 |
line wrap: on
line diff
--- a/src/share/vm/opto/escape.hpp Tue Dec 08 16:27:21 2009 -0800 +++ b/src/share/vm/opto/escape.hpp Wed Dec 09 16:40:45 2009 -0800 @@ -210,6 +210,8 @@ Unique_Node_List _delayed_worklist; // Nodes to be processed before // the call build_connection_graph(). + GrowableArray<MergeMemNode *> _mergemem_worklist; // List of all MergeMem nodes + VectorSet _processed; // Records which nodes have been // processed. @@ -315,6 +317,9 @@ // Set the escape state of a node void set_escape_state(uint ni, PointsToNode::EscapeState es); + // Search for objects which are not scalar replaceable. + void verify_escape_state(int nidx, VectorSet& ptset, PhaseTransform* phase); + public: ConnectionGraph(Compile *C);