8000351: Tenuring threshold should be unsigned

Change the flags and variables related to tenuring threshold to be unsigned

Reviewed-by: jmasa, johnc
This commit is contained in:
Jesper Wilhelmsson 2012-10-03 20:31:41 +02:00
parent 88ab075a6d
commit 3506d44c57
22 changed files with 55 additions and 55 deletions

View file

@ -85,7 +85,7 @@ oop PSPromotionManager::copy_to_survivor_space(oop o) {
if (!promote_immediately) {
// Find the objects age, MT safe.
int age = (test_mark->has_displaced_mark_helper() /* o->has_displaced_mark() */) ?
uint age = (test_mark->has_displaced_mark_helper() /* o->has_displaced_mark() */) ?
test_mark->displaced_mark_helper()->age() : test_mark->age();
// Try allocating obj in to-space (unless too old)