< prev index next >

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

Print this page
rev 49911 : imported patch removeAllGCs

*** 21,31 **** * questions. * */ #include "precompiled.hpp" - #include "gc/serial/genMarkSweep.hpp" #include "gc/shared/blockOffsetTable.inline.hpp" #include "gc/shared/cardTableRS.hpp" #include "gc/shared/collectedHeap.inline.hpp" #include "gc/shared/gcLocker.hpp" #include "gc/shared/gcTimer.hpp" --- 21,30 ----
*** 301,310 **** --- 300,311 ---- void Generation::safe_object_iterate(ObjectClosure* cl) { GenerationSafeObjIterateClosure blk(cl); space_iterate(&blk); } + #if INCLUDE_SERIALGC + void Generation::prepare_for_compaction(CompactPoint* cp) { // Generic implementation, can be specialized CompactibleSpace* space = first_compaction_space(); while (space != NULL) { space->prepare_for_compaction(cp);
*** 331,335 **** --- 332,338 ---- while (sp != NULL) { sp->compact(); sp = sp->next_compaction_space(); } } + + #endif // INCLUDE_SERIALGC
< prev index next >