< prev index next >

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

Print this page

        

*** 747,757 **** } void PSYoungGen::compact() { eden_mark_sweep()->compact(ZapUnusedHeapArea); from_mark_sweep()->compact(ZapUnusedHeapArea); ! // Mark sweep stores preserved markWords in to space, don't disturb! to_mark_sweep()->compact(false); } #endif // INCLUDE_SERIALGC --- 747,757 ---- } void PSYoungGen::compact() { eden_mark_sweep()->compact(ZapUnusedHeapArea); from_mark_sweep()->compact(ZapUnusedHeapArea); ! // Mark sweep stores preserved markOops in to space, don't disturb! to_mark_sweep()->compact(false); } #endif // INCLUDE_SERIALGC
*** 764,773 **** --- 764,779 ---- st->print(" eden"); eden_space()->print_on(st); st->print(" from"); from_space()->print_on(st); st->print(" to "); to_space()->print_on(st); } + // Note that a space is not printed before the [NAME: + void PSYoungGen::print_used_change(size_t prev_used) const { + log_info(gc, heap)("%s: " SIZE_FORMAT "K->" SIZE_FORMAT "K(" SIZE_FORMAT "K)", + name(), prev_used / K, used_in_bytes() / K, capacity_in_bytes() / K); + } + size_t PSYoungGen::available_for_expansion() { ShouldNotReachHere(); return 0; }
< prev index next >