Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.hpp @ 20655:b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
Summary: Added a G1CollectorPolicyExt where it is possible to extend the class.
Reviewed-by: sjohanss, tschatzl
author | jwilhelm |
---|---|
date | Fri, 21 Nov 2014 12:08:37 +0100 |
parents | 327c00d0f091 |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
20654:fa6adc194d48 | 20655:b840813adfcc |
---|---|
340 static void set_use_compressed_oops(); | 340 static void set_use_compressed_oops(); |
341 static void set_use_compressed_klass_ptrs(); | 341 static void set_use_compressed_klass_ptrs(); |
342 static void select_gc(); | 342 static void select_gc(); |
343 static void set_ergonomics_flags(); | 343 static void set_ergonomics_flags(); |
344 static void set_shared_spaces_flags(); | 344 static void set_shared_spaces_flags(); |
345 static void set_gc_specific_flags(); | |
346 // limits the given memory size by the maximum amount of memory this process is | 345 // limits the given memory size by the maximum amount of memory this process is |
347 // currently allowed to allocate or reserve. | 346 // currently allowed to allocate or reserve. |
348 static julong limit_by_allocatable_memory(julong size); | 347 static julong limit_by_allocatable_memory(julong size); |
349 // Setup heap size | 348 // Setup heap size |
350 static void set_heap_size(); | 349 static void set_heap_size(); |
452 // Apply ergonomics | 451 // Apply ergonomics |
453 static jint apply_ergo(); | 452 static jint apply_ergo(); |
454 // Adjusts the arguments after the OS have adjusted the arguments | 453 // Adjusts the arguments after the OS have adjusted the arguments |
455 static jint adjust_after_os(); | 454 static jint adjust_after_os(); |
456 | 455 |
456 static void set_gc_specific_flags(); | |
457 static inline bool gc_selected(); // whether a gc has been selected | 457 static inline bool gc_selected(); // whether a gc has been selected |
458 static void select_gc_ergonomically(); | 458 static void select_gc_ergonomically(); |
459 | 459 |
460 // Verifies that the given value will fit as a MinHeapFreeRatio. If not, an error | 460 // Verifies that the given value will fit as a MinHeapFreeRatio. If not, an error |
461 // message is returned in the provided buffer. | 461 // message is returned in the provided buffer. |