< prev index next >
src/hotspot/share/oops/oop.inline.hpp
Print this page
*** 361,374 ****
// Used only for markSweep, scavenging
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
// mark would point to a stack location and have the sentinel bit cleared
return mark()->is_marked();
--- 361,370 ----
< prev index next >