< prev index next >

src/share/vm/runtime/fprofiler.cpp

Print this page
rev 9019 : [mq]: format.patch

@@ -40,12 +40,10 @@
 #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;

@@ -184,11 +182,11 @@
 
 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("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,11 +1490,11 @@
     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);
+    tty->print_cr("Node area used: " INTX_FORMAT "Kb", (intx)((area_top - area_bottom) / 1024));
   }
   reset();
 }
 
 /*
< prev index next >