< prev index next >

src/hotspot/share/oops/instanceRefKlass.inline.hpp

Print this page
rev 51626 : imported patch 8209843-too-much-reference-processing

*** 96,111 **** --- 96,113 ---- oop_oop_iterate_discovery<T>(obj, type, closure, contains); } template <typename T, class OopClosureType, class Contains> void InstanceRefKlass::oop_oop_iterate_fields(oop obj, OopClosureType* closure, Contains& contains) { + assert(closure->ref_discoverer() == NULL, "ReferenceDiscoverer should not be set"); do_referent<T>(obj, closure, contains); do_discovered<T>(obj, closure, contains); } template <typename T, class OopClosureType, class Contains> void InstanceRefKlass::oop_oop_iterate_fields_except_referent(oop obj, OopClosureType* closure, Contains& contains) { + assert(closure->ref_discoverer() == NULL, "ReferenceDiscoverer should not be set"); do_discovered<T>(obj, closure, contains); } template <typename T, class OopClosureType, class Contains> void InstanceRefKlass::oop_oop_iterate_ref_processing(oop obj, OopClosureType* closure, Contains& contains) {
< prev index next >