diff src/share/vm/opto/escape.cpp @ 17894:87b5e00100fe

8038048: assert(null_obj->escape_state() == PointsToNode::NoEscape,etc) runThese -full Summary: use correct set_escape_state() method. Reviewed-by: kvn, iignatyev Contributed-by: Richard Reingruber <richard.reingruber@sap.com>
author kvn
date Wed, 16 Apr 2014 14:49:03 -0700
parents 6d2fe9c23878
children 52b4284cb496 b20a35eae442
line wrap: on
line diff
--- a/src/share/vm/opto/escape.cpp	Thu Apr 17 16:18:40 2014 -0700
+++ b/src/share/vm/opto/escape.cpp	Wed Apr 16 14:49:03 2014 -0700
@@ -710,7 +710,7 @@
         Node *val = n->in(MemNode::ValueIn);
         PointsToNode* ptn = ptnode_adr(val->_idx);
         assert(ptn != NULL, "node should be registered");
-        ptn->set_escape_state(PointsToNode::GlobalEscape);
+        set_escape_state(ptn, PointsToNode::GlobalEscape);
         // Add edge to object for unsafe access with offset.
         PointsToNode* adr_ptn = ptnode_adr(adr->_idx);
         assert(adr_ptn != NULL, "node should be registered");