Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp @ 14309:63a4eb8bcd23
8025856: Fix typos in the GC code
Summary: Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author | jwilhelm |
---|---|
date | Thu, 23 Jan 2014 14:47:23 +0100 |
parents | 4f41766176cf |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14308:870aedf4ba4f | 14309:63a4eb8bcd23 |
---|---|
42 _monitor(NULL), | 42 _monitor(NULL), |
43 _cg1r(cg1r), | 43 _cg1r(cg1r), |
44 _vtime_accum(0.0) | 44 _vtime_accum(0.0) |
45 { | 45 { |
46 | 46 |
47 // Each thread has its own monitor. The i-th thread is responsible for signalling | 47 // Each thread has its own monitor. The i-th thread is responsible for signaling |
48 // to thread i+1 if the number of buffers in the queue exceeds a threashold for this | 48 // to thread i+1 if the number of buffers in the queue exceeds a threshold for this |
49 // thread. Monitors are also used to wake up the threads during termination. | 49 // thread. Monitors are also used to wake up the threads during termination. |
50 // The 0th worker in notified by mutator threads and has a special monitor. | 50 // The 0th worker in notified by mutator threads and has a special monitor. |
51 // The last worker is used for young gen rset size sampling. | 51 // The last worker is used for young gen rset size sampling. |
52 if (worker_id > 0) { | 52 if (worker_id > 0) { |
53 _monitor = new Monitor(Mutex::nonleaf, "Refinement monitor", true); | 53 _monitor = new Monitor(Mutex::nonleaf, "Refinement monitor", true); |