src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp

changeset 970
4e400c36026f
parent 704
850fdf70db2b
child 1014
0fbdb4381b99
equal deleted inserted replaced
969:5cfd8d19e546 970:4e400c36026f
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

mercurial