mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8005071: Incremental inlining for JSR 292
Post parse inlining driven by number of live nodes. Reviewed-by: twisti, kvn, jrose
This commit is contained in:
parent
52a0bed8f5
commit
73d6d417be
17 changed files with 581 additions and 86 deletions
|
@ -75,6 +75,13 @@ NodeHash::NodeHash(NodeHash *nh) {
|
|||
// nh->_sentinel must be in the current node space
|
||||
}
|
||||
|
||||
void NodeHash::replace_with(NodeHash *nh) {
|
||||
debug_only(_table = (Node**)badAddress); // interact correctly w/ operator=
|
||||
// just copy in all the fields
|
||||
*this = *nh;
|
||||
// nh->_sentinel must be in the current node space
|
||||
}
|
||||
|
||||
//------------------------------hash_find--------------------------------------
|
||||
// Find in hash table
|
||||
Node *NodeHash::hash_find( const Node *n ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue