src/share/vm/memory/tenuredGeneration.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/memory/tenuredGeneration.hpp

src/share/vm/memory/tenuredGeneration.hpp

Print this page
rev 6362 : 8042298: Remove the names gen0 and gen1 from the GC code
Summary: Renamed gen0 and gen1 to young and old throughout the GC code.
Reviewed-by:

*** 65,78 **** bool must_be_oldest() const { return true; } // Does a "full" (forced) collection invoked on this generation collect // all younger generations as well? Note that this is a // hack to allow the collection of the younger gen first if the flag is ! // set. This is better than using th policy's should_collect_gen0_first() ! // since that causes us to do an extra unnecessary pair of restart-&-stop-world. virtual bool full_collects_younger_generations() const { ! return !CollectGen0First; } virtual void gc_prologue(bool full); virtual void gc_epilogue(bool full); bool should_collect(bool full, --- 65,77 ---- bool must_be_oldest() const { return true; } // Does a "full" (forced) collection invoked on this generation collect // all younger generations as well? Note that this is a // hack to allow the collection of the younger gen first if the flag is ! // set. virtual bool full_collects_younger_generations() const { ! return !ScavengeBeforeFullGC; } virtual void gc_prologue(bool full); virtual void gc_epilogue(bool full); bool should_collect(bool full,
src/share/vm/memory/tenuredGeneration.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File