mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8001049: VM crashes when running with large -Xms and not specifying ObjectAlignmentInBytes
Take the initial heap size into account when checking the heap size for compressed oops Reviewed-by: jmasa, kvn, hseigel, ctornqvi
This commit is contained in:
parent
1e1174e0be
commit
c51ea967ce
3 changed files with 38 additions and 24 deletions
|
@ -309,6 +309,7 @@ class Arguments : AllStatic {
|
|||
// Garbage-First (UseG1GC)
|
||||
static void set_g1_gc_flags();
|
||||
// GC ergonomics
|
||||
static void set_use_compressed_oops();
|
||||
static void set_ergonomics_flags();
|
||||
static void set_shared_spaces_flags();
|
||||
// Setup heap size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue