src/share/vm/gc_implementation/shared/gcUtil.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/gc_implementation/shared/gcUtil.cpp

src/share/vm/gc_implementation/shared/gcUtil.cpp

Print this page
rev 5732 : [mq]: comments2

*** 157,167 **** // true for a slope of 0. That is because a change is necessary before // a slope can be calculated and a 0 slope will, in general, indicate // that no calculation of the slope has yet been done. Returning true // for a slope equal to 0 reflects the intuitive expectation of the // dependence on the slope. Don't use the complement of these functions ! // since that untuitive expectation is not built into the complement. bool LinearLeastSquareFit::decrement_will_decrease() { return (_slope >= 0.00); } bool LinearLeastSquareFit::increment_will_decrease() { --- 157,167 ---- // true for a slope of 0. That is because a change is necessary before // a slope can be calculated and a 0 slope will, in general, indicate // that no calculation of the slope has yet been done. Returning true // for a slope equal to 0 reflects the intuitive expectation of the // dependence on the slope. Don't use the complement of these functions ! // since that intuitive expectation is not built into the complement. bool LinearLeastSquareFit::decrement_will_decrease() { return (_slope >= 0.00); } bool LinearLeastSquareFit::increment_will_decrease() {
src/share/vm/gc_implementation/shared/gcUtil.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File