equal
deleted
inserted
replaced
352 // cleared if the minimum size of eden is 0. If mangle_space |
352 // cleared if the minimum size of eden is 0. If mangle_space |
353 // is true, also mangle the space in debug mode. |
353 // is true, also mangle the space in debug mode. |
354 void compute_space_boundaries(uintx minimum_eden_size, |
354 void compute_space_boundaries(uintx minimum_eden_size, |
355 bool clear_space, |
355 bool clear_space, |
356 bool mangle_space); |
356 bool mangle_space); |
|
357 |
|
358 // Return adjusted new size for NewSizeThreadIncrease. |
|
359 // If any overflow happens, revert to previous new size. |
|
360 size_t adjust_for_thread_increase(size_t new_size_candidate, |
|
361 size_t new_size_before, |
|
362 size_t alignment) const; |
|
363 |
|
364 |
357 // Scavenge support |
365 // Scavenge support |
358 void swap_spaces(); |
366 void swap_spaces(); |
359 }; |
367 }; |
360 |
368 |
361 #endif // SHARE_VM_GC_SERIAL_DEFNEWGENERATION_HPP |
369 #endif // SHARE_VM_GC_SERIAL_DEFNEWGENERATION_HPP |