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:
Bengt Rutisson 2013-03-12 08:33:57 +01:00
parent 1e1174e0be
commit c51ea967ce
3 changed files with 38 additions and 24 deletions

View file

@ -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