Searched defs:gc_cost (Results 1 - 2 of 2) sorted by relevance

/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcmsAdaptiveSizePolicy.cpp860 double CMSAdaptiveSizePolicy::gc_cost() const { function in class:CMSAdaptiveSizePolicy
1077 if (gc_cost() >= 0.0 && gen_gc_cost >= 0.0) {
1078 double scale_by_ratio = gen_gc_cost / gc_cost();
1090 if (gen_gc_cost >= (gc_cost() - gen_gc_cost)) {
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DadaptiveSizePolicy.hpp224 // Because we're dealing with averages, gc_cost() can be
229 // Limit the value of gc_cost to 1.0 so that the mutator
231 virtual double gc_cost() const { function in class:AdaptiveSizePolicy
272 double result = 1.0 - gc_cost();

Completed in 34 milliseconds