< prev index next >

src/hotspot/share/gc/shared/generation.hpp

Print this page
rev 49758 : imported patch 8201492-properly-implement-non-contiguous-reference-processing

*** 98,108 **** // Memory area reserved for generation VirtualSpace _virtual_space; // ("Weak") Reference processing support ! ReferenceProcessor* _ref_processor; // Performance Counters CollectorCounters* _gc_counters; // Statistics for garbage collection --- 98,108 ---- // Memory area reserved for generation VirtualSpace _virtual_space; // ("Weak") Reference processing support ! SpanReferenceProcessor* _ref_processor; // Performance Counters CollectorCounters* _gc_counters; // Statistics for garbage collection
*** 137,147 **** GenGrain = 1 << LogOfGenGrain }; // allocate and initialize ("weak") refs processing support virtual void ref_processor_init(); ! void set_ref_processor(ReferenceProcessor* rp) { assert(_ref_processor == NULL, "clobbering existing _ref_processor"); _ref_processor = rp; } virtual Generation::Name kind() { return Generation::Other; } --- 137,147 ---- GenGrain = 1 << LogOfGenGrain }; // allocate and initialize ("weak") refs processing support virtual void ref_processor_init(); ! void set_ref_processor(SpanReferenceProcessor* rp) { assert(_ref_processor == NULL, "clobbering existing _ref_processor"); _ref_processor = rp; } virtual Generation::Name kind() { return Generation::Other; }
*** 482,492 **** // Printing virtual const char* name() const = 0; virtual const char* short_name() const = 0; // Reference Processing accessor ! 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. --- 482,492 ---- // Printing virtual const char* name() const = 0; virtual const char* short_name() const = 0; // Reference Processing accessor ! SpanReferenceProcessor* 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 >