8199728: Remove oopDesc::is_scavengable

Reviewed-by: kbarrett, pliden
This commit is contained in:
Stefan Karlsson 2018-03-15 21:26:55 +01:00
parent 089f83703a
commit 0933677217
6 changed files with 8 additions and 14 deletions

View file

@ -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