1.1 --- a/src/share/vm/opto/phaseX.cpp Fri Feb 27 08:34:19 2009 -0800 1.2 +++ b/src/share/vm/opto/phaseX.cpp Fri Feb 27 13:27:09 2009 -0800 1.3 @@ -196,7 +196,7 @@ 1.4 } 1.5 1.6 //------------------------------hash_delete------------------------------------ 1.7 -// Replace in hash table with sentinal 1.8 +// Replace in hash table with sentinel 1.9 bool NodeHash::hash_delete( const Node *n ) { 1.10 Node *k; 1.11 uint hash = n->hash(); 1.12 @@ -207,7 +207,7 @@ 1.13 uint key = hash & (_max-1); 1.14 uint stride = key | 0x01; 1.15 debug_only( uint counter = 0; ); 1.16 - for( ; /* (k != NULL) && (k != _sentinal) */; ) { 1.17 + for( ; /* (k != NULL) && (k != _sentinel) */; ) { 1.18 debug_only( counter++ ); 1.19 debug_only( _delete_probes++ ); 1.20 k = _table[key]; // Get hashed value 1.21 @@ -715,7 +715,7 @@ 1.22 1.23 #ifdef ASSERT 1.24 //------------------------------dead_loop_check-------------------------------- 1.25 -// Check for a simple dead loop when a data node references itself direcly 1.26 +// Check for a simple dead loop when a data node references itself directly 1.27 // or through an other data node excluding cons and phis. 1.28 void PhaseGVN::dead_loop_check( Node *n ) { 1.29 // Phi may reference itself in a loop 1.30 @@ -1359,7 +1359,7 @@ 1.31 worklist.push(p); // Propagate change to user 1.32 } 1.33 } 1.34 - // If we changed the reciever type to a call, we need to revisit 1.35 + // If we changed the receiver type to a call, we need to revisit 1.36 // the Catch following the call. It's looking for a non-NULL 1.37 // receiver to know when to enable the regular fall-through path 1.38 // in addition to the NullPtrException path