Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp @ 10359:14d3f71f831d
8007762: Rename a bunch of methods in size policy across collectors
Summary: Rename: compute_generations_free_space() = compute_eden_space_size() + compute_old_gen_free_space(); update related logging messages
Reviewed-by: jmasa, johnc, tschatzl, brutisso
Contributed-by: tamao <tao.mao@oracle.com>
author | tamao |
---|---|
date | Wed, 22 May 2013 11:11:47 -0700 |
parents | 10f759898d40 |
children | eda078b01c65 |
comparison
equal
deleted
inserted
replaced
10358:0def34ab1c98 | 10359:14d3f71f831d |
---|---|
2099 young_gen->to_space()->capacity_in_bytes(); | 2099 young_gen->to_space()->capacity_in_bytes(); |
2100 | 2100 |
2101 // Used for diagnostics | 2101 // Used for diagnostics |
2102 size_policy->clear_generation_free_space_flags(); | 2102 size_policy->clear_generation_free_space_flags(); |
2103 | 2103 |
2104 size_policy->compute_generation_free_space(young_live, | 2104 size_policy->compute_generations_free_space(young_live, |
2105 eden_live, | 2105 eden_live, |
2106 old_live, | 2106 old_live, |
2107 cur_eden, | 2107 cur_eden, |
2108 max_old_gen_size, | 2108 max_old_gen_size, |
2109 max_eden_size, | 2109 max_eden_size, |
2110 true /* full gc*/); | 2110 true /* full gc*/); |
2111 | 2111 |
2112 size_policy->check_gc_overhead_limit(young_live, | 2112 size_policy->check_gc_overhead_limit(young_live, |
2113 eden_live, | 2113 eden_live, |
2114 max_old_gen_size, | 2114 max_old_gen_size, |
2115 max_eden_size, | 2115 max_eden_size, |