equal
deleted
inserted
replaced
1379 |
1379 |
1380 // The Method* is gone at this point |
1380 // The Method* is gone at this point |
1381 assert(_method == NULL, "Tautology"); |
1381 assert(_method == NULL, "Tautology"); |
1382 |
1382 |
1383 set_osr_link(NULL); |
1383 set_osr_link(NULL); |
1384 //set_scavenge_root_link(NULL); // done by prune_scavenge_root_nmethods |
|
1385 NMethodSweeper::report_state_change(this); |
1384 NMethodSweeper::report_state_change(this); |
1386 } |
1385 } |
1387 |
1386 |
1388 void nmethod::invalidate_osr_method() { |
1387 void nmethod::invalidate_osr_method() { |
1389 assert(_entry_bci != InvocationEntryBci, "wrong kind of nmethod"); |
1388 assert(_entry_bci != InvocationEntryBci, "wrong kind of nmethod"); |