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

@ -693,7 +693,7 @@ inline void oopDesc::set_displaced_mark(markOop m) {
}
// The following method needs to be MT safe.
inline int oopDesc::age() const {
inline uint oopDesc::age() const {
assert(!is_forwarded(), "Attempt to read age from forwarded mark");
if (has_displaced_mark()) {
return displaced_mark()->age();