mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
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:
parent
88ab075a6d
commit
3506d44c57
22 changed files with 55 additions and 55 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue