--- a/hotspot/src/share/vm/gc/parallel/adjoiningGenerations.cpp Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/gc/parallel/adjoiningGenerations.cpp Tue Jul 04 15:58:10 2017 +0200
@@ -161,7 +161,7 @@
const size_t alignment = virtual_spaces()->alignment();
size_t change_in_bytes = MIN3(young_gen_available,
old_gen_available,
- align_size_up_(expand_in_bytes, alignment));
+ align_up_(expand_in_bytes, alignment));
if (change_in_bytes == 0) {
return;
@@ -203,7 +203,7 @@
const size_t alignment = virtual_spaces()->alignment();
size_t change_in_bytes = MIN3(young_gen_available,
old_gen_available,
- align_size_up_(expand_in_bytes, alignment));
+ align_up_(expand_in_bytes, alignment));
if (change_in_bytes == 0) {
return false;