Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parNew/parNewGeneration.cpp @ 1833:8b10f48633dc
6984287: Regularize how GC parallel workers are specified.
Summary: Associate number of GC workers with the workgang as opposed to the task.
Reviewed-by: johnc, ysr
author | jmasa |
---|---|
date | Mon, 20 Sep 2010 14:38:38 -0700 |
parents | 2d6b74c9a797 |
children | 894b1d7c7e01 |
comparison
equal
deleted
inserted
replaced
1781:97fbf5beff7b | 1833:8b10f48633dc |
---|---|
1531 } | 1531 } |
1532 | 1532 |
1533 const char* ParNewGeneration::name() const { | 1533 const char* ParNewGeneration::name() const { |
1534 return "par new generation"; | 1534 return "par new generation"; |
1535 } | 1535 } |
1536 | |
1537 bool ParNewGeneration::in_use() { | |
1538 return UseParNewGC && ParallelGCThreads > 0; | |
1539 } |