Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/shared/gcUtil.cpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 63a4eb8bcd23 |
children |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
157 // true for a slope of 0. That is because a change is necessary before | 157 // true for a slope of 0. That is because a change is necessary before |
158 // a slope can be calculated and a 0 slope will, in general, indicate | 158 // a slope can be calculated and a 0 slope will, in general, indicate |
159 // that no calculation of the slope has yet been done. Returning true | 159 // that no calculation of the slope has yet been done. Returning true |
160 // for a slope equal to 0 reflects the intuitive expectation of the | 160 // for a slope equal to 0 reflects the intuitive expectation of the |
161 // dependence on the slope. Don't use the complement of these functions | 161 // dependence on the slope. Don't use the complement of these functions |
162 // since that intuitive expectation is not built into the complement. | 162 // since that untuitive expectation is not built into the complement. |
163 bool LinearLeastSquareFit::decrement_will_decrease() { | 163 bool LinearLeastSquareFit::decrement_will_decrease() { |
164 return (_slope >= 0.00); | 164 return (_slope >= 0.00); |
165 } | 165 } |
166 | 166 |
167 bool LinearLeastSquareFit::increment_will_decrease() { | 167 bool LinearLeastSquareFit::increment_will_decrease() { |