310 static void set_g1_gc_flags(); |
310 static void set_g1_gc_flags(); |
311 // GC ergonomics |
311 // GC ergonomics |
312 static void set_use_compressed_oops(); |
312 static void set_use_compressed_oops(); |
313 static void set_ergonomics_flags(); |
313 static void set_ergonomics_flags(); |
314 static void set_shared_spaces_flags(); |
314 static void set_shared_spaces_flags(); |
|
315 // limits the given memory size by the maximum amount of memory this process is |
|
316 // currently allowed to allocate or reserve. |
|
317 static julong limit_by_allocatable_memory(julong size); |
315 // Setup heap size |
318 // Setup heap size |
316 static void set_heap_size(); |
319 static void set_heap_size(); |
317 // Based on automatic selection criteria, should the |
320 // Based on automatic selection criteria, should the |
318 // low pause collector be used. |
321 // low pause collector be used. |
319 static bool should_auto_select_low_pause_collector(); |
322 static bool should_auto_select_low_pause_collector(); |