comparison src/share/vm/gc_implementation/shared/gcAdaptivePolicyCounters.hpp @ 6818:22b8d3d181d9

8000351: Tenuring threshold should be unsigned Summary: Change the flags and variables related to tenuring threshold to be unsigned Reviewed-by: jmasa, johnc
author jwilhelm
date Wed, 03 Oct 2012 20:31:41 +0200
parents f95d63e2154a
children db9981fd3124
comparison
equal deleted inserted replaced
6817:f81a7c0c618d 6818:22b8d3d181d9
186 size_policy()->calculated_survivor_size_in_bytes()); 186 size_policy()->calculated_survivor_size_in_bytes());
187 } 187 }
188 inline void update_survivor_overflowed(bool survivor_overflowed) { 188 inline void update_survivor_overflowed(bool survivor_overflowed) {
189 _survivor_overflowed_counter->set_value(survivor_overflowed); 189 _survivor_overflowed_counter->set_value(survivor_overflowed);
190 } 190 }
191 inline void update_tenuring_threshold(int threshold) { 191 inline void update_tenuring_threshold(uint threshold) {
192 tenuring_threshold()->set_value(threshold); 192 tenuring_threshold()->set_value(threshold);
193 } 193 }
194 inline void update_increment_tenuring_threshold_for_gc_cost() { 194 inline void update_increment_tenuring_threshold_for_gc_cost() {
195 _increment_tenuring_threshold_for_gc_cost_counter->set_value( 195 _increment_tenuring_threshold_for_gc_cost_counter->set_value(
196 size_policy()->increment_tenuring_threshold_for_gc_cost()); 196 size_policy()->increment_tenuring_threshold_for_gc_cost());