Mercurial > hg > truffle
diff src/share/vm/oops/markOop.hpp @ 113:ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author | coleenp |
---|---|
date | Sun, 13 Apr 2008 17:43:42 -0400 |
parents | d8b3ef7ee3e5 |
children | 790e66e5fbac 37f87013dfd8 |
line wrap: on
line diff
--- a/src/share/vm/oops/markOop.hpp Fri Apr 11 09:56:35 2008 -0400 +++ b/src/share/vm/oops/markOop.hpp Sun Apr 13 17:43:42 2008 -0400 @@ -89,7 +89,7 @@ enum { age_bits = 4, lock_bits = 2, biased_lock_bits = 1, - max_hash_bits = BitsPerOop - age_bits - lock_bits - biased_lock_bits, + max_hash_bits = BitsPerWord - age_bits - lock_bits - biased_lock_bits, hash_bits = max_hash_bits > 31 ? 31 : max_hash_bits, epoch_bits = 2 };