< prev index next >

src/share/vm/gc/parallel/adjoiningGenerations.cpp

Print this page

        

*** 159,169 **** const size_t young_gen_available = young_gen()->available_for_contraction(); const size_t old_gen_available = old_gen()->available_for_expansion(); 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)); if (change_in_bytes == 0) { return; } --- 159,169 ---- const size_t young_gen_available = young_gen()->available_for_contraction(); const size_t old_gen_available = old_gen()->available_for_expansion(); const size_t alignment = virtual_spaces()->alignment(); size_t change_in_bytes = MIN3(young_gen_available, old_gen_available, ! align_up_(expand_in_bytes, alignment)); if (change_in_bytes == 0) { return; }
*** 201,211 **** const size_t young_gen_available = young_gen()->available_for_expansion(); const size_t old_gen_available = old_gen()->available_for_contraction(); 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)); if (change_in_bytes == 0) { return false; } --- 201,211 ---- const size_t young_gen_available = young_gen()->available_for_expansion(); const size_t old_gen_available = old_gen()->available_for_contraction(); const size_t alignment = virtual_spaces()->alignment(); size_t change_in_bytes = MIN3(young_gen_available, old_gen_available, ! align_up_(expand_in_bytes, alignment)); if (change_in_bytes == 0) { return false; }
< prev index next >