< prev index next >

src/hotspot/share/memory/heapInspection.cpp

Print this page

        

*** 26,35 **** --- 26,37 ---- #include "classfile/classLoaderData.inline.hpp" #include "classfile/classLoaderDataGraph.hpp" #include "classfile/moduleEntry.hpp" #include "classfile/systemDictionary.hpp" #include "gc/shared/collectedHeap.hpp" + #include "logging/log.hpp" + #include "logging/logTag.hpp" #include "memory/heapInspection.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.hpp" #include "oops/oop.inline.hpp" #include "oops/reflectionAccessorImplKlassHelper.hpp"
*** 515,525 **** KlassInfoTable cit(true); if (!cit.allocation_failed()) { // populate table with object allocation info size_t missed_count = populate_table(&cit); if (missed_count != 0) { ! st->print_cr("WARNING: Ran out of C-heap; undercounted " SIZE_FORMAT " total instances in data below", missed_count); } // Sort and print klass instance info --- 517,527 ---- KlassInfoTable cit(true); if (!cit.allocation_failed()) { // populate table with object allocation info size_t missed_count = populate_table(&cit); if (missed_count != 0) { ! log_info(gc, classhisto)("WARNING: Ran out of C-heap; undercounted " SIZE_FORMAT " total instances in data below", missed_count); } // Sort and print klass instance info
< prev index next >