File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ jint ParallelScavengeHeap::initialize() {
70
70
71
71
initialize_reserved_region (heap_rs);
72
72
// Layout the reserved space for the generations.
73
- ReservedSpace old_rs = heap_rs.first_part (MaxOldSize);
74
- ReservedSpace young_rs = heap_rs.last_part (MaxOldSize);
73
+ ReservedSpace old_rs = heap_rs.first_part (MaxOldSize, GenAlignment );
74
+ ReservedSpace young_rs = heap_rs.last_part (MaxOldSize, GenAlignment );
75
75
assert (young_rs.size () == MaxNewSize, " Didn't reserve all of the heap" );
76
76
77
77
PSCardTable* card_table = new PSCardTable (heap_rs.region ());
Original file line number Diff line number Diff line change @@ -186,8 +186,8 @@ jint SerialHeap::initialize() {
186
186
187
187
initialize_reserved_region (heap_rs);
188
188
189
- ReservedSpace young_rs = heap_rs.first_part (MaxNewSize);
190
- ReservedSpace old_rs = heap_rs.last_part (MaxNewSize);
189
+ ReservedSpace young_rs = heap_rs.first_part (MaxNewSize, GenAlignment );
190
+ ReservedSpace old_rs = heap_rs.last_part (MaxNewSize, GenAlignment );
191
191
192
192
_rem_set = new CardTableRS (heap_rs.region ());
193
193
_rem_set->initialize (young_rs.base (), old_rs.base ());
You can’t perform that action at this time.
0 commit comments