diff src/share/vm/memory/vtBuffer.cpp @ 13588:488f0d311b80

8187820: [MVT] Build failures on 32-bit x86
author thartmann
date Fri, 22 Sep 2017 13:51:12 +0200
parents a9010a9e2e11
children
line wrap: on
line diff
--- a/src/share/vm/memory/vtBuffer.cpp	Fri Sep 22 08:08:42 2017 +0200
+++ b/src/share/vm/memory/vtBuffer.cpp	Fri Sep 22 13:51:12 2017 +0200
@@ -435,20 +435,20 @@
   if (ReportVTBufferRecyclingTimes) {
     end = Ticks::now();
     ResourceMark rm(thread);
-    tty->print_cr("VTBufferRecyling: %s : %s.%s %s : %ldus",
+    tty->print_cr("VTBufferRecyling: %s : %s.%s %s : " JLONG_FORMAT "us",
         thread->name(),
         f->interpreter_frame_method()->klass_name()->as_C_string(),
         f->interpreter_frame_method()->name()->as_C_string(),
         f->interpreter_frame_method()->signature()->as_C_string(),
         (end.value() - begin.value()) / 1000);
-    tty->print("Step1 : %6ldns ", step1.value() - begin.value());
-    tty->print("Step2 : %6ldns ", step2.value() - step1.value());
-    tty->print("Step3 : %6ldns ", step3.value() - step2.value());
-    tty->print("Step4 : %6ldns ", step4.value() - step3.value());
-    tty->print("Step5 : %6ldns ", step5.value() - step4.value());
-    tty->print("Step6 : %6ldns ", step6.value() - step5.value());
-    tty->print("Step7 : %6ldns ", step7.value() - step6.value());
-    tty->print("Step8 : %6ldns ", end.value() - step7.value());
+    tty->print("Step1 : " JLONG_FORMAT "ns ", step1.value() - begin.value());
+    tty->print("Step2 : " JLONG_FORMAT "ns ", step2.value() - step1.value());
+    tty->print("Step3 : " JLONG_FORMAT "ns ", step3.value() - step2.value());
+    tty->print("Step4 : " JLONG_FORMAT "ns ", step4.value() - step3.value());
+    tty->print("Step5 : " JLONG_FORMAT "ns ", step5.value() - step4.value());
+    tty->print("Step6 : " JLONG_FORMAT "ns ", step6.value() - step5.value());
+    tty->print("Step7 : " JLONG_FORMAT "ns ", step7.value() - step6.value());
+    tty->print("Step8 : " JLONG_FORMAT "ns ", end.value() - step7.value());
     tty->print_cr("Returned chunks: %d", returned_chunks);
   }
 }