equal
deleted
inserted
replaced
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 |