< prev index next >
src/hotspot/share/gc/shared/referenceProcessor.cpp
Print this page
rev 49944 : imported patch 8201492-properly-implement-non-contiguous-reference-processing
rev 49945 : imported patch 8201492-stefanj-review
*** 130,157 ****
}
setup_policy(false /* default soft ref policy */);
}
- SpanReferenceProcessor::SpanReferenceProcessor(MemRegion span,
- bool mt_processing,
- uint mt_processing_degree,
- bool mt_discovery,
- uint mt_discovery_degree,
- bool atomic_discovery,
- BoolObjectClosure* is_alive_non_header) :
- ReferenceProcessor(&_span_based_discoverer,
- mt_processing,
- mt_processing_degree,
- mt_discovery,
- mt_discovery_degree,
- atomic_discovery,
- is_alive_non_header),
- _span_based_discoverer(span) {
-
- }
-
#ifndef PRODUCT
void ReferenceProcessor::verify_no_references_recorded() {
guarantee(!_discovering_refs, "Discovering refs?");
for (uint i = 0; i < _max_num_q * number_of_subclasses_of_ref(); i++) {
guarantee(_discovered_refs[i].is_empty(),
--- 130,139 ----
*** 972,983 ****
INTPTR_FORMAT " during %satomic discovery ",
p2i(referent), p2i(obj), da ? "" : "non-");
}
#endif
! template <class T>
! bool ReferenceProcessor::is_subject_to_discovery(T const obj) const {
return _is_subject_to_discovery->do_object_b(obj);
}
// We mention two of several possible choices here:
// #0: if the reference object is not in the "originating generation"
--- 954,964 ----
INTPTR_FORMAT " during %satomic discovery ",
p2i(referent), p2i(obj), da ? "" : "non-");
}
#endif
! bool ReferenceProcessor::is_subject_to_discovery(oop const obj) const {
return _is_subject_to_discovery->do_object_b(obj);
}
// We mention two of several possible choices here:
// #0: if the reference object is not in the "originating generation"
< prev index next >