--- a/hotspot/src/share/vm/opto/escape.hpp Thu Nov 10 20:17:05 2011 -0800
+++ b/hotspot/src/share/vm/opto/escape.hpp Mon Nov 14 18:38:03 2011 -0800
@@ -236,6 +236,8 @@
// are assumed to point to.
uint _oop_null; // ConP(#NULL)->_idx
uint _noop_null; // ConN(#NULL)->_idx
+ Node* _pcmp_neq; // ConI(#CC_GT)
+ Node* _pcmp_eq; // ConI(#CC_EQ)
Compile * _compile; // Compile object for current compilation
PhaseIterGVN * _igvn; // Value numbering
@@ -351,6 +353,9 @@
GrowableArray<uint>* worklist,
PointsToNode::EscapeState esc_state);
+ // Optimize objects compare.
+ Node* optimize_ptr_compare(Node* n);
+
// Compute the escape information
bool compute_escape();