mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8199728: Remove oopDesc::is_scavengable
Reviewed-by: kbarrett, pliden
This commit is contained in:
parent
089f83703a
commit
0933677217
6 changed files with 8 additions and 14 deletions
|
@ -363,10 +363,6 @@ bool oopDesc::is_gc_marked() const {
|
|||
return mark()->is_marked();
|
||||
}
|
||||
|
||||
bool oopDesc::is_scavengable() const {
|
||||
return Universe::heap()->is_scavengable(oop(const_cast<oopDesc*>(this)));
|
||||
}
|
||||
|
||||
// Used by scavengers
|
||||
bool oopDesc::is_forwarded() const {
|
||||
// The extra heap check is needed since the obj might be locked, in which case the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue