Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp @ 14392:b5c8a61d7fa0
Merge
author | kvn |
---|---|
date | Fri, 21 Jun 2013 15:56:24 -0700 |
parents | 14d3f71f831d |
children | 63a4eb8bcd23 |
comparison
equal
deleted
inserted
replaced
14391:d2907f74462e | 14392:b5c8a61d7fa0 |
---|---|
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 ); |