hotspot/src/share/vm/memory/genCollectedHeap.hpp
changeset 24353 148147d21135
parent 23508 3b15250ea28f
child 25490 59f226da8d81
--- 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());