src/share/vm/oops/markOop.hpp

changeset 548
ba764ed4b6f2
parent 483
d8b3ef7ee3e5
child 622
790e66e5fbac
child 777
37f87013dfd8
equal deleted inserted replaced
545:a49a647afe9a 548: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

mercurial