src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.hpp

src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.hpp

Print this page
rev 5732 : [mq]: comments2

*** 301,311 **** // number of GC threads (ParallelGCThreads). The job might be divided // into a number of tasks greater than the number of GC threads for // load balancing (i.e., over partitioning). The last task to be // executed by a GC thread in a job is a work stealing task. A // GC thread that gets a work stealing task continues to execute ! // that task until the job is done. In the static number of GC theads // case, tasks are added to a queue (FIFO). The work stealing tasks are // the last to be added. Once the tasks are added, the GC threads grab // a task and go. A single thread can do all the non-work stealing tasks // and then execute a work stealing and wait for all the other GC threads // to execute their work stealing task. --- 301,311 ---- // number of GC threads (ParallelGCThreads). The job might be divided // into a number of tasks greater than the number of GC threads for // load balancing (i.e., over partitioning). The last task to be // executed by a GC thread in a job is a work stealing task. A // GC thread that gets a work stealing task continues to execute ! // that task until the job is done. In the static number of GC threads // case, tasks are added to a queue (FIFO). The work stealing tasks are // the last to be added. Once the tasks are added, the GC threads grab // a task and go. A single thread can do all the non-work stealing tasks // and then execute a work stealing and wait for all the other GC threads // to execute their work stealing task.
src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File