< prev index next >
src/hotspot/share/gc/cms/parNewGeneration.cpp
Print this page
rev 49944 : imported patch 8201492-properly-implement-non-contiguous-reference-processing
rev 49945 : imported patch 8201492-stefanj-review
*** 1469,1480 ****
#undef BUSY
void ParNewGeneration::ref_processor_init() {
if (_ref_processor == NULL) {
// Allocate and initialize a reference processor
_ref_processor =
! new SpanReferenceProcessor(_reserved, // span
ParallelRefProcEnabled && (ParallelGCThreads > 1), // mt processing
ParallelGCThreads, // mt processing degree
refs_discovery_is_mt(), // mt discovery
ParallelGCThreads, // mt discovery degree
refs_discovery_is_atomic(), // atomic_discovery
--- 1469,1481 ----
#undef BUSY
void ParNewGeneration::ref_processor_init() {
if (_ref_processor == NULL) {
// Allocate and initialize a reference processor
+ _span_discoverer.set_span(_reserved);
_ref_processor =
! new ReferenceProcessor(&_span_discoverer, // span
ParallelRefProcEnabled && (ParallelGCThreads > 1), // mt processing
ParallelGCThreads, // mt processing degree
refs_discovery_is_mt(), // mt discovery
ParallelGCThreads, // mt discovery degree
refs_discovery_is_atomic(), // atomic_discovery
< prev index next >