comparison src/share/vm/opto/phaseX.cpp @ 7473:d092d1b31229

8005071: Incremental inlining for JSR 292 Summary: post parse inlining driven by number of live nodes. Reviewed-by: twisti, kvn, jrose
author roland
date Sun, 23 Dec 2012 17:08:22 +0100
parents 2aff40cb4703
children 8b3da8d14c93
comparison
equal deleted inserted replaced
7445:cd962e15c08e 7473:d092d1b31229
67 memset(_table,0,sizeof(Node*)*_max); 67 memset(_table,0,sizeof(Node*)*_max);
68 } 68 }
69 69
70 //------------------------------NodeHash--------------------------------------- 70 //------------------------------NodeHash---------------------------------------
71 NodeHash::NodeHash(NodeHash *nh) { 71 NodeHash::NodeHash(NodeHash *nh) {
72 debug_only(_table = (Node**)badAddress); // interact correctly w/ operator=
73 // just copy in all the fields
74 *this = *nh;
75 // nh->_sentinel must be in the current node space
76 }
77
78 void NodeHash::replace_with(NodeHash *nh) {
72 debug_only(_table = (Node**)badAddress); // interact correctly w/ operator= 79 debug_only(_table = (Node**)badAddress); // interact correctly w/ operator=
73 // just copy in all the fields 80 // just copy in all the fields
74 *this = *nh; 81 *this = *nh;
75 // nh->_sentinel must be in the current node space 82 // nh->_sentinel must be in the current node space
76 } 83 }