src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Mon Jun 2 16:10:28 2014
--- new/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Mon Jun 2 16:10:27 2014
*** 2243,2258 ****
--- 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_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),
*** 2263,2278 ****
--- 2260,2272 ----
// mt discovery
MAX2((int)ParallelGCThreads, 1),
// degree of mt discovery
true,
// Reference discovery is atomic
! &_is_alive_closure_stw,
! &_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();
}
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File