Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 7455:0b54ffe4c2d3
8005672: Clean up some changes to GC logging with GCCause's
Reviewed-by: johnc, ysr
author | jmasa |
---|---|
date | Fri, 04 Jan 2013 17:04:46 -0800 |
parents | 685df3c6f84b |
children | c73c3f2c5b3b |
comparison
equal
deleted
inserted
replaced
7454:6e9174173e00 | 7455:0b54ffe4c2d3 |
---|---|
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")", |