--- old/src/share/vm/memory/tenuredGeneration.hpp 2014-05-19 22:09:21.000000000 +0200 +++ new/src/share/vm/memory/tenuredGeneration.hpp 2014-05-19 22:09:20.000000000 +0200 @@ -67,10 +67,9 @@ // 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. + // set. virtual bool full_collects_younger_generations() const { - return !CollectGen0First; + return !ScavengeBeforeFullGC; } virtual void gc_prologue(bool full);