hotspot/src/share/vm/memory/tenuredGeneration.cpp
changeset 15091 826cff1f58f5
parent 13466 9fdf353d5f4c
child 15482 470d0b0c09f1
equal deleted inserted replaced
15090:18bfcc1bbe39 15091:826cff1f58f5
    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");