< prev index next >

src/hotspot/share/gc/parallel/psYoungGen.cpp

Print this page

        

*** 728,737 **** --- 728,739 ---- eden_space()->object_iterate(blk); from_space()->object_iterate(blk); to_space()->object_iterate(blk); } + #if INCLUDE_SERIALGC + void PSYoungGen::precompact() { eden_mark_sweep()->precompact(); from_mark_sweep()->precompact(); to_mark_sweep()->precompact(); }
*** 747,756 **** --- 749,760 ---- from_mark_sweep()->compact(ZapUnusedHeapArea); // Mark sweep stores preserved markOops in to space, don't disturb! to_mark_sweep()->compact(false); } + #endif // INCLUDE_SERIALGC + void PSYoungGen::print() const { print_on(tty); } void PSYoungGen::print_on(outputStream* st) const { st->print(" %-15s", "PSYoungGen"); st->print(" total " SIZE_FORMAT "K, used " SIZE_FORMAT "K", capacity_in_bytes()/K, used_in_bytes()/K);
< prev index next >