src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hs-gc9 Cdiff src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp

src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp

Print this page
rev 6446 : [mq]: ref-write-new-fix

*** 2243,2258 **** // mt discovery (int) MAX2(ParallelGCThreads, ConcGCThreads), // degree of mt discovery false, // Reference discovery is not atomic ! &_is_alive_closure_cm, // is alive closure // (for efficiency/performance) - true); - // Setting next fields of discovered - // lists requires a barrier. // STW ref processor _ref_processor_stw = new ReferenceProcessor(mr, // span ParallelRefProcEnabled && (ParallelGCThreads > 1), --- 2243,2255 ---- // mt discovery (int) MAX2(ParallelGCThreads, ConcGCThreads), // degree of mt discovery false, // Reference discovery is not atomic ! &_is_alive_closure_cm); // is alive closure // (for efficiency/performance) // STW ref processor _ref_processor_stw = new ReferenceProcessor(mr, // span ParallelRefProcEnabled && (ParallelGCThreads > 1),
*** 2263,2278 **** // mt discovery MAX2((int)ParallelGCThreads, 1), // degree of mt discovery true, // Reference discovery is atomic ! &_is_alive_closure_stw, // is alive closure // (for efficiency/performance) - false); - // Setting next fields of discovered - // lists does not require a barrier. } size_t G1CollectedHeap::capacity() const { return _g1_committed.byte_size(); } --- 2260,2272 ---- // mt discovery MAX2((int)ParallelGCThreads, 1), // degree of mt discovery true, // Reference discovery is atomic ! &_is_alive_closure_stw); // is alive closure // (for efficiency/performance) } size_t G1CollectedHeap::capacity() const { return _g1_committed.byte_size(); }
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File