--- a/hotspot/src/share/vm/memory/genCollectedHeap.hpp Tue Apr 29 09:33:20 2014 +0200
+++ b/hotspot/src/share/vm/memory/genCollectedHeap.hpp Tue Apr 29 22:57:19 2014 +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());