< prev index next >
src/hotspot/share/gc/shared/generation.hpp
Print this page
rev 49944 : imported patch 8201492-properly-implement-non-contiguous-reference-processing
rev 49945 : imported patch 8201492-stefanj-review
@@ -98,11 +98,12 @@
// Memory area reserved for generation
VirtualSpace _virtual_space;
// ("Weak") Reference processing support
- SpanReferenceProcessor* _ref_processor;
+ SpanSubjectToDiscoveryClosure _span_discoverer;
+ ReferenceProcessor* _ref_processor;
// Performance Counters
CollectorCounters* _gc_counters;
// Statistics for garbage collection
@@ -137,11 +138,11 @@
GenGrain = 1 << LogOfGenGrain
};
// allocate and initialize ("weak") refs processing support
virtual void ref_processor_init();
- void set_ref_processor(SpanReferenceProcessor* rp) {
+ void set_ref_processor(ReferenceProcessor* rp) {
assert(_ref_processor == NULL, "clobbering existing _ref_processor");
_ref_processor = rp;
}
virtual Generation::Name kind() { return Generation::Other; }
@@ -482,11 +483,11 @@
// Printing
virtual const char* name() const = 0;
virtual const char* short_name() const = 0;
// Reference Processing accessor
- SpanReferenceProcessor* const ref_processor() { return _ref_processor; }
+ ReferenceProcessor* const ref_processor() { return _ref_processor; }
// Iteration.
// Iterate over all the ref-containing fields of all objects in the
// generation, calling "cl.do_oop" on each.
< prev index next >