mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8290025: Remove the Sweeper
Reviewed-by: stefank, kvn, iveresov, coleenp, vlivanov, mdoerr
This commit is contained in:
parent
dc7e2562f4
commit
054c23f484
188 changed files with 1113 additions and 3539 deletions
|
@ -1165,9 +1165,6 @@ void Method::unlink_code(CompiledMethod *compare) {
|
|||
// We need to check if either the _code or _from_compiled_code_entry_point
|
||||
// refer to this nmethod because there is a race in setting these two fields
|
||||
// in Method* as seen in bugid 4947125.
|
||||
// If the vep() points to the zombie nmethod, the memory for the nmethod
|
||||
// could be flushed and the compiler and vtable stubs could still call
|
||||
// through it.
|
||||
if (code() == compare ||
|
||||
from_compiled_entry() == compare->verified_entry_point()) {
|
||||
clear_code();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue