hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
equal
deleted
inserted
replaced
825 |
825 |
826 void ConcurrentMarkSweepGeneration::printOccupancy(const char *s) { |
826 void ConcurrentMarkSweepGeneration::printOccupancy(const char *s) { |
827 GenCollectedHeap* gch = GenCollectedHeap::heap(); |
827 GenCollectedHeap* gch = GenCollectedHeap::heap(); |
828 if (PrintGCDetails) { |
828 if (PrintGCDetails) { |
829 if (Verbose) { |
829 if (Verbose) { |
830 gclog_or_tty->print(" [%d %s-%s: "SIZE_FORMAT"("SIZE_FORMAT")]", |
830 gclog_or_tty->print("[%d %s-%s: "SIZE_FORMAT"("SIZE_FORMAT")]", |
831 level(), short_name(), s, used(), capacity()); |
831 level(), short_name(), s, used(), capacity()); |
832 } else { |
832 } else { |
833 gclog_or_tty->print(" [%d %s-%s: "SIZE_FORMAT"K("SIZE_FORMAT"K)]", |
833 gclog_or_tty->print("[%d %s-%s: "SIZE_FORMAT"K("SIZE_FORMAT"K)]", |
834 level(), short_name(), s, used() / K, capacity() / K); |
834 level(), short_name(), s, used() / K, capacity() / K); |
835 } |
835 } |
836 } |
836 } |
837 if (Verbose) { |
837 if (Verbose) { |
838 gclog_or_tty->print(" "SIZE_FORMAT"("SIZE_FORMAT")", |
838 gclog_or_tty->print(" "SIZE_FORMAT"("SIZE_FORMAT")", |