< prev index next > src/hotspot/share/oops/oop.inline.hpp
8211447: Replace oop_pc_update_pointers with oop_iterate and closure
} else {
set_mark_raw(mark_raw()->incr_age());
}
}
-#if INCLUDE_PARALLELGC
-
-void oopDesc::pc_update_contents(ParCompactionManager* cm) {
- Klass* k = klass();
- if (!k->is_typeArray_klass()) {
- // It might contain oops beyond the header, so take the virtual call.
- k->oop_pc_update_pointers(this, cm);
- }
- // Else skip it. The TypeArrayKlass in the header never needs scavenging.
-}
-#endif // INCLUDE_PARALLELGC
-
template <typename OopClosureType>
void oopDesc::oop_iterate(OopClosureType* cl) {
OopIteratorClosureDispatch::oop_oop_iterate(cl, this, klass());
}
< prev index next >