hotspot/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp
changeset 1911 b7cfe7eb809c
parent 977 b90650e2a9f7
child 2105 347008ce7984
equal deleted inserted replaced
1910:386106352d02 1911:b7cfe7eb809c
    62     // spaces have been computed.
    62     // spaces have been computed.
    63     SpaceMangler::mangle_region(cmr);
    63     SpaceMangler::mangle_region(cmr);
    64   }
    64   }
    65 
    65 
    66   if (UseNUMA) {
    66   if (UseNUMA) {
    67     _eden_space = new MutableNUMASpace();
    67     _eden_space = new MutableNUMASpace(virtual_space()->alignment());
    68   } else {
    68   } else {
    69     _eden_space = new MutableSpace();
    69     _eden_space = new MutableSpace(virtual_space()->alignment());
    70   }
    70   }
    71   _from_space = new MutableSpace();
    71   _from_space = new MutableSpace(virtual_space()->alignment());
    72   _to_space   = new MutableSpace();
    72   _to_space   = new MutableSpace(virtual_space()->alignment());
    73 
    73 
    74   if (_eden_space == NULL || _from_space == NULL || _to_space == NULL) {
    74   if (_eden_space == NULL || _from_space == NULL || _to_space == NULL) {
    75     vm_exit_during_initialization("Could not allocate a young gen space");
    75     vm_exit_during_initialization("Could not allocate a young gen space");
    76   }
    76   }
    77 
    77