Mercurial > hg > graal-compiler
diff src/share/vm/memory/tenuredGeneration.cpp @ 7451:ca0a78017dc7
8005396: Use ParNew with only one thread instead of DefNew as default for CMS on single CPU machines
Reviewed-by: jmasa, jcoomes
author | brutisso |
---|---|
date | Sun, 30 Dec 2012 08:47:52 +0100 |
parents | aaf61e68b255 |
children | db9981fd3124 |
line wrap: on
line diff
--- a/src/share/vm/memory/tenuredGeneration.cpp Thu Jan 03 16:28:22 2013 -0800 +++ b/src/share/vm/memory/tenuredGeneration.cpp Sun Dec 30 08:47:52 2012 +0100 @@ -62,7 +62,7 @@ _virtual_space.reserved_size(), _the_space, _gen_counters); #ifndef SERIALGC - if (UseParNewGC && ParallelGCThreads > 0) { + if (UseParNewGC) { typedef ParGCAllocBufferWithBOT* ParGCAllocBufferWithBOTPtr; _alloc_buffers = NEW_C_HEAP_ARRAY(ParGCAllocBufferWithBOTPtr, ParallelGCThreads, mtGC);