1.1 --- a/src/share/vm/opto/node.cpp Thu Nov 21 19:00:57 2013 -0800 1.2 +++ b/src/share/vm/opto/node.cpp Fri Nov 22 12:14:09 2013 -0800 1.3 @@ -1523,7 +1523,6 @@ 1.4 1.5 1.6 #ifndef PRODUCT 1.7 -int Node::_in_dump_cnt = 0; 1.8 1.9 // -----------------------------Name------------------------------------------- 1.10 extern const char *NodeClassNames[]; 1.11 @@ -1595,7 +1594,7 @@ 1.12 void Node::dump(const char* suffix, outputStream *st) const { 1.13 Compile* C = Compile::current(); 1.14 bool is_new = C->node_arena()->contains(this); 1.15 - _in_dump_cnt++; 1.16 + C->_in_dump_cnt++; 1.17 st->print("%c%d\t%s\t=== ", is_new ? ' ' : 'o', _idx, Name()); 1.18 1.19 // Dump the required and precedence inputs 1.20 @@ -1610,7 +1609,7 @@ 1.21 dump_orig(debug_orig(), st); 1.22 #endif 1.23 st->cr(); 1.24 - _in_dump_cnt--; 1.25 + C->_in_dump_cnt--; 1.26 return; // don't process dead nodes 1.27 } 1.28 1.29 @@ -1662,7 +1661,7 @@ 1.30 } 1.31 } 1.32 if (suffix) st->print(suffix); 1.33 - _in_dump_cnt--; 1.34 + C->_in_dump_cnt--; 1.35 } 1.36 1.37 //------------------------------dump_req--------------------------------------