Mercurial > hg > graal-compiler
diff src/share/vm/runtime/biasedLocking.cpp @ 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 | da91efe96a93 |
children | 070d523b96a7 |
line wrap: on
line diff
--- a/src/share/vm/runtime/biasedLocking.cpp Wed Oct 03 08:08:52 2012 -0700 +++ b/src/share/vm/runtime/biasedLocking.cpp Wed Oct 03 20:31:41 2012 +0200 @@ -154,7 +154,7 @@ return BiasedLocking::NOT_BIASED; } - int age = mark->age(); + uint age = mark->age(); markOop biased_prototype = markOopDesc::biased_locking_prototype()->set_age(age); markOop unbiased_prototype = markOopDesc::prototype()->set_age(age);