Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
87 public: | 87 public: |
88 // Constants | 88 // Constants |
89 enum { age_bits = 4, | 89 enum { age_bits = 4, |
90 lock_bits = 2, | 90 lock_bits = 2, |
91 biased_lock_bits = 1, | 91 biased_lock_bits = 1, |
92 max_hash_bits = BitsPerOop - age_bits - lock_bits - biased_lock_bits, | 92 max_hash_bits = BitsPerWord - age_bits - lock_bits - biased_lock_bits, |
93 hash_bits = max_hash_bits > 31 ? 31 : max_hash_bits, | 93 hash_bits = max_hash_bits > 31 ? 31 : max_hash_bits, |
94 epoch_bits = 2 | 94 epoch_bits = 2 |
95 }; | 95 }; |
96 | 96 |
97 // The biased locking code currently requires that the age bits be | 97 // The biased locking code currently requires that the age bits be |