comparison src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp @ 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 f95d63e2154a
children 63a4eb8bcd23
comparison
equal deleted inserted replaced
10358:0def34ab1c98 10359:14d3f71f831d
1 /* 1 /*
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
117 inline void update_change_old_gen_for_min_pauses() { 117 inline void update_change_old_gen_for_min_pauses() {
118 _change_old_gen_for_min_pauses->set_value( 118 _change_old_gen_for_min_pauses->set_value(
119 ps_size_policy()->change_old_gen_for_min_pauses()); 119 ps_size_policy()->change_old_gen_for_min_pauses());
120 } 120 }
121 121
122 // compute_generation_free_space() statistics 122 // compute_generations_free_space() statistics
123 123
124 inline void update_avg_major_pause() { 124 inline void update_avg_major_pause() {
125 _avg_major_pause->set_value( 125 _avg_major_pause->set_value(
126 (jlong)(ps_size_policy()->_avg_major_pause->average() * 1000.0) 126 (jlong)(ps_size_policy()->_avg_major_pause->average() * 1000.0)
127 ); 127 );