< prev index next >

src/hotspot/share/gc/shared/genCollectedHeap.cpp

Print this page

        

*** 1242,1257 **** --- 1242,1259 ---- assert(heap->kind() == CollectedHeap::Serial || heap->kind() == CollectedHeap::CMS, "Invalid name"); return (GenCollectedHeap*) heap; } + #if INCLUDE_SERIALGC void GenCollectedHeap::prepare_for_compaction() { // Start by compacting into same gen. CompactPoint cp(_old_gen); _old_gen->prepare_for_compaction(&cp); _young_gen->prepare_for_compaction(&cp); } + #endif // INCLUDE_SERIALGC void GenCollectedHeap::verify(VerifyOption option /* ignored */) { log_debug(gc, verify)("%s", _old_gen->name()); _old_gen->verify();
< prev index next >