< prev index next > src/hotspot/share/memory/metaspace/metaspaceReporter.cpp
Print this page
#include "memory/metaspace/metaspaceStatistics.hpp"
#include "memory/metaspace/printCLDMetaspaceInfoClosure.hpp"
#include "memory/metaspace/runningCounters.hpp"
#include "memory/metaspace/virtualSpaceList.hpp"
#include "memory/metaspaceUtils.hpp"
+ #include "oops/compressedKlass.hpp"
#include "runtime/os.hpp"
namespace metaspace {
static const char* describe_spacetype(Metaspace::MetaspaceType st) {
out->print("Current GC threshold: ");
print_human_readable_size(out, MetaspaceGC::capacity_until_GC(), scale);
out->cr();
out->print_cr("CDS: %s", (CDSConfig::is_using_archive() ? "on" : (CDSConfig::is_dumping_static_archive() ? "dump" : "off")));
Settings::print_on(out);
+ #ifdef _LP64
+ CompressedKlassPointers::print_mode(out);
+ #endif
}
// This will print out a basic metaspace usage report but
// unlike print_report() is guaranteed not to lock or to walk the CLDG.
void MetaspaceReporter::print_basic_report(outputStream* out, size_t scale) {
out->cr();
out->print("Waste (unused committed space):");
// For all wastages, print percentages from total. As total use the total size of memory committed for metaspace.
const size_t committed_words = RunningCounters::committed_words();
- out->print("(percentages refer to total committed size ");
+ out->print(" (percentages refer to total committed size ");
print_scaled_words(out, committed_words, scale);
out->print_cr("):");
// Print waste for in-use chunks.
InUseChunkStats ucs_nonclass = cl._stats_total._arena_stats_nonclass.totals();
< prev index next >