8006432: Ratio flags should be unsigned

Flags changed to be of uintx type

Reviewed-by: johnc, tamao
This commit is contained in:
Jesper Wilhelmsson 2013-02-07 15:51:25 +01:00
parent 63fd60257c
commit 2c17d50a8b
7 changed files with 14 additions and 17 deletions

View file

@ -274,8 +274,8 @@ ConcurrentMarkSweepGeneration::ConcurrentMarkSweepGeneration(
// end of a collection, we let CMSTriggerRatio of the (purported) free
// space be allocated before initiating a new collection cycle.
//
void ConcurrentMarkSweepGeneration::init_initiating_occupancy(intx io, intx tr) {
assert(io <= 100 && tr >= 0 && tr <= 100, "Check the arguments");
void ConcurrentMarkSweepGeneration::init_initiating_occupancy(intx io, uintx tr) {
assert(io <= 100 && tr <= 100, "Check the arguments");
if (io >= 0) {
_initiating_occupancy = (double)io / 100.0;
} else {