equal
deleted
inserted
replaced
537 bool oopDesc::is_gc_marked() const { |
537 bool oopDesc::is_gc_marked() const { |
538 return mark()->is_marked(); |
538 return mark()->is_marked(); |
539 } |
539 } |
540 |
540 |
541 bool oopDesc::is_scavengable() const { |
541 bool oopDesc::is_scavengable() const { |
542 return Universe::heap()->is_scavengable(this); |
542 return Universe::heap()->is_scavengable(oop(const_cast<oopDesc*>(this))); |
543 } |
543 } |
544 |
544 |
545 // Used by scavengers |
545 // Used by scavengers |
546 bool oopDesc::is_forwarded() const { |
546 bool oopDesc::is_forwarded() const { |
547 // The extra heap check is needed since the obj might be locked, in which case the |
547 // The extra heap check is needed since the obj might be locked, in which case the |