--- old/src/share/vm/memory/genCollectedHeap.hpp 2014-04-30 00:14:07.000000000 +0200 +++ new/src/share/vm/memory/genCollectedHeap.hpp 2014-04-30 00:14:07.000000000 +0200 @@ -453,7 +453,7 @@ // Assumes a 2-generation system; the first disjunct remembers if an // incremental collection failed, even when we thought (second disjunct) // that it would not. - assert(heap()->collector_policy()->is_two_generation_policy(), + assert(heap()->collector_policy()->is_generation_policy(), "the following definition may not be suitable for an n(>2)-generation system"); return incremental_collection_failed() || (consult_young && !get_gen(0)->collection_attempt_is_safe());