src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp Wed Jan 15 01:40:43 2014
--- new/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp Wed Jan 15 01:40:42 2014
*** 42,53 ****
--- 42,53 ----
_monitor(NULL),
_cg1r(cg1r),
_vtime_accum(0.0)
{
! // Each thread has its own monitor. The i-th thread is responsible for signalling
! // to thread i+1 if the number of buffers in the queue exceeds a threashold for this
! // Each thread has its own monitor. The i-th thread is responsible for signaling
! // to thread i+1 if the number of buffers in the queue exceeds a threshold for this
// thread. Monitors are also used to wake up the threads during termination.
// The 0th worker in notified by mutator threads and has a special monitor.
// The last worker is used for young gen rset size sampling.
if (worker_id > 0) {
_monitor = new Monitor(Mutex::nonleaf, "Refinement monitor", true);
src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File