Skip to content

Commit

Permalink
Back out hashcode trimming
Browse files Browse the repository at this point in the history
Reviewed-by: shade
  • Loading branch information
rkennke committed May 10, 2021
1 parent dce94d8 commit 3f1a758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/oops/markWord.hpp
Expand Up @@ -130,7 +130,7 @@ class markWord {
static const int lock_bits = 2;
static const int biased_lock_bits = 1;
static const int max_hash_bits = BitsPerWord - age_bits - lock_bits - biased_lock_bits;
static const int hash_bits = max_hash_bits > 22 ? 22 : max_hash_bits;
static const int hash_bits = max_hash_bits > 31 ? 31 : max_hash_bits;
static const int unused_gap_bits = LP64_ONLY(1) NOT_LP64(0);
static const int epoch_bits = 2;

Expand Down

0 comments on commit 3f1a758

Please sign in to comment.