aprofiler.cpp revision 1879
0N/A * or visit www.oracle.com if you need additional information or have any
0N/A#include "precompiled.hpp"
0N/A#include "classfile/systemDictionary.hpp"
0N/A#include "gc_interface/collectedHeap.inline.hpp"
0N/A#include "memory/permGen.hpp"
0N/A#include "memory/resourceArea.hpp"
0N/A#include "oops/oop.inline.hpp"
0N/A#include "oops/oop.inline2.hpp"
0N/A#include "runtime/aprofiler.hpp"
0N/A k->set_alloc_count(0);
0N/A k->set_alloc_size(0);
0N/A int total_alloc_count = 0;
0N/A tty->print_cr("Allocation profile (sizes in bytes, cutoff = %ld bytes):", cutoff * BytesPerWord);
#ifndef PRODUCT
tty->print_cr("Allocation profile for system classes (sizes in bytes, cutoff = %d bytes):", cutoff * BytesPerWord);
tty->print_cr("Permanent generation dump (sizes in bytes, cutoff = %d bytes):", cutoff * BytesPerWord);