< prev index next >
src/share/vm/runtime/fprofiler.cpp
Print this page
rev 9019 : [mq]: format.patch
*** 40,51 ****
#include "runtime/task.hpp"
#include "runtime/thread.inline.hpp"
#include "runtime/vframe.hpp"
#include "utilities/macros.hpp"
- PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
-
// Static fields of FlatProfiler
int FlatProfiler::received_gc_ticks = 0;
int FlatProfiler::vm_operation_ticks = 0;
int FlatProfiler::threads_lock_ticks = 0;
int FlatProfiler::class_loader_ticks = 0;
--- 40,49 ----
*** 184,194 ****
void PCRecorder::print() {
if (counters == NULL) return;
tty->cr();
! tty->print_cr("Printing compiled methods with PC buckets having more than %d ticks", ProfilerPCTickThreshold);
tty->print_cr("===================================================================");
tty->cr();
GrowableArray<CodeBlob*>* candidates = new GrowableArray<CodeBlob*>(20);
--- 182,192 ----
void PCRecorder::print() {
if (counters == NULL) return;
tty->cr();
! tty->print_cr("Printing compiled methods with PC buckets having more than " INTX_FORMAT " ticks", ProfilerPCTickThreshold);
tty->print_cr("===================================================================");
tty->cr();
GrowableArray<CodeBlob*>* candidates = new GrowableArray<CodeBlob*>(20);
*** 1492,1502 ****
print_ticks("Unknown: thread_state", unknown_ticks_array[ut_unknown_thread_state], active);
tty->cr();
}
if (WizardMode) {
! tty->print_cr("Node area used: %dKb", (area_top - area_bottom) / 1024);
}
reset();
}
/*
--- 1490,1500 ----
print_ticks("Unknown: thread_state", unknown_ticks_array[ut_unknown_thread_state], active);
tty->cr();
}
if (WizardMode) {
! tty->print_cr("Node area used: " INTX_FORMAT "Kb", (intx)((area_top - area_bottom) / 1024));
}
reset();
}
/*
< prev index next >