mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8185141: Generalize scavengeable nmethod root handling
Reviewed-by: tschatzl, pliden, rkennke
This commit is contained in:
parent
34622112b6
commit
ebf1633bd2
13 changed files with 73 additions and 86 deletions
|
@ -539,7 +539,7 @@ bool oopDesc::is_gc_marked() const {
|
|||
}
|
||||
|
||||
bool oopDesc::is_scavengable() const {
|
||||
return Universe::heap()->is_scavengable(this);
|
||||
return Universe::heap()->is_scavengable(oop(const_cast<oopDesc*>(this)));
|
||||
}
|
||||
|
||||
// Used by scavengers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue