src/share/vm/memory/tenuredGeneration.cpp

changeset 3900
d2a62e0f25eb
parent 2314
f95d63e2154a
child 3982
aaf61e68b255
equal deleted inserted replaced
3877:74533f63b116 3900:d2a62e0f25eb
63 _the_space, _gen_counters); 63 _the_space, _gen_counters);
64 #ifndef SERIALGC 64 #ifndef SERIALGC
65 if (UseParNewGC && ParallelGCThreads > 0) { 65 if (UseParNewGC && ParallelGCThreads > 0) {
66 typedef ParGCAllocBufferWithBOT* ParGCAllocBufferWithBOTPtr; 66 typedef ParGCAllocBufferWithBOT* ParGCAllocBufferWithBOTPtr;
67 _alloc_buffers = NEW_C_HEAP_ARRAY(ParGCAllocBufferWithBOTPtr, 67 _alloc_buffers = NEW_C_HEAP_ARRAY(ParGCAllocBufferWithBOTPtr,
68 ParallelGCThreads); 68 ParallelGCThreads, mtGC);
69 if (_alloc_buffers == NULL) 69 if (_alloc_buffers == NULL)
70 vm_exit_during_initialization("Could not allocate alloc_buffers"); 70 vm_exit_during_initialization("Could not allocate alloc_buffers");
71 for (uint i = 0; i < ParallelGCThreads; i++) { 71 for (uint i = 0; i < ParallelGCThreads; i++) {
72 _alloc_buffers[i] = 72 _alloc_buffers[i] =
73 new ParGCAllocBufferWithBOT(OldPLABSize, _bts); 73 new ParGCAllocBufferWithBOT(OldPLABSize, _bts);

mercurial