src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp

src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp

Print this page
rev 5803 : 8028391: Make the Min/MaxHeapFreeRatio flags manageable
Summary: Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.
Reviewed-by: sla, mgerdin, brutisso

*** 125,135 **** void precompact(); void adjust_pointers(); void compact(); ! // Called during/after gc void swap_spaces(); // Resize generation using suggested free space size and survivor size // NOTE: "eden_size" and "survivor_size" are suggestions only. Current // heap layout (particularly, live objects in from space) might --- 125,135 ---- void precompact(); void adjust_pointers(); void compact(); ! // Called during/after GC void swap_spaces(); // Resize generation using suggested free space size and survivor size // NOTE: "eden_size" and "survivor_size" are suggestions only. Current // heap layout (particularly, live objects in from space) might
*** 151,161 **** // The max this generation can grow to if the boundary between // the generations are allowed to move. size_t gen_size_limit() const { return _max_gen_size; } bool is_maximal_no_gc() const { ! return true; // never expands except at a GC } // Allocation HeapWord* allocate(size_t word_size) { HeapWord* result = eden_space()->cas_allocate(word_size); --- 151,161 ---- // The max this generation can grow to if the boundary between // the generations are allowed to move. size_t gen_size_limit() const { return _max_gen_size; } bool is_maximal_no_gc() const { ! return true; // Never expands except at a GC } // Allocation HeapWord* allocate(size_t word_size) { HeapWord* result = eden_space()->cas_allocate(word_size);
src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File