mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
This commit is contained in:
parent
680ecf1611
commit
4a831d45f0
273 changed files with 6585 additions and 2993 deletions
|
@ -89,7 +89,7 @@ class markOopDesc: public oopDesc {
|
|||
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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue