Mercurial > hg > graal-jvmci-8
diff src/share/vm/oops/oop.inline.hpp @ 6818:22b8d3d181d9
8000351: Tenuring threshold should be unsigned
Summary: Change the flags and variables related to tenuring threshold to be unsigned
Reviewed-by: jmasa, johnc
author | jwilhelm |
---|---|
date | Wed, 03 Oct 2012 20:31:41 +0200 |
parents | 46c017102631 |
children | 8e47bac5643a |
line wrap: on
line diff
--- a/src/share/vm/oops/oop.inline.hpp Wed Oct 03 08:08:52 2012 -0700 +++ b/src/share/vm/oops/oop.inline.hpp Wed Oct 03 20:31:41 2012 +0200 @@ -693,7 +693,7 @@ } // 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();