equal
deleted
inserted
replaced
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"); |