mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6791178: Specialize for zero as the compressed oop vm heap base
Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb. Reviewed-by: never, twisti, jcoomes, coleenp
This commit is contained in:
parent
66cecec230
commit
69f9ddee90
45 changed files with 1072 additions and 220 deletions
|
@ -303,11 +303,14 @@ class CommandLineFlags {
|
|||
"Use 32-bit object references in 64-bit VM. " \
|
||||
"lp64_product means flag is always constant in 32 bit VM") \
|
||||
\
|
||||
lp64_product(bool, CheckCompressedOops, trueInDebug, \
|
||||
"generate checks in encoding/decoding code") \
|
||||
notproduct(bool, CheckCompressedOops, true, \
|
||||
"generate checks in encoding/decoding code in debug VM") \
|
||||
\
|
||||
product(bool, UseImplicitNullCheckForNarrowOop, true, \
|
||||
"generate implicit null check in indexed addressing mode.") \
|
||||
product_pd(uintx, HeapBaseMinAddress, \
|
||||
"OS specific low limit for heap base address") \
|
||||
\
|
||||
diagnostic(bool, PrintCompressedOopsMode, false, \
|
||||
"Print compressed oops base address and encoding mode") \
|
||||
\
|
||||
/* UseMembar is theoretically a temp flag used for memory barrier \
|
||||
* removal testing. It was supposed to be removed before FCS but has \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue