src/share/vm/memory/tenuredGeneration.cpp

changeset 4387
ca0a78017dc7
parent 3982
aaf61e68b255
child 4542
db9981fd3124
equal deleted inserted replaced
4386:d275c3dc73e6 4387:ca0a78017dc7
60 60
61 _space_counters = new CSpaceCounters(gen_name, 0, 61 _space_counters = new CSpaceCounters(gen_name, 0,
62 _virtual_space.reserved_size(), 62 _virtual_space.reserved_size(),
63 _the_space, _gen_counters); 63 _the_space, _gen_counters);
64 #ifndef SERIALGC 64 #ifndef SERIALGC
65 if (UseParNewGC && ParallelGCThreads > 0) { 65 if (UseParNewGC) {
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, mtGC); 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");

mercurial