hotspot/src/share/vm/interpreter/bytecodeTracer.cpp
changeset 10565 dc90c239f4ec
parent 9946 b3d5b50e2289
child 10966 0c9ed2dfc6a2
--- a/hotspot/src/share/vm/interpreter/bytecodeTracer.cpp	Tue Sep 20 23:50:16 2011 -0700
+++ b/hotspot/src/share/vm/interpreter/bytecodeTracer.cpp	Sun Sep 25 16:03:29 2011 -0700
@@ -92,7 +92,7 @@
       // the incoming method.  We could lose a line of trace output.
       // This is acceptable in a debug-only feature.
       st->cr();
-      st->print("[%d] ", (int) Thread::current()->osthread()->thread_id());
+      st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id());
       method->print_name(st);
       st->cr();
       _current_method = method();
@@ -106,7 +106,7 @@
     }
     _code = code;
      int bci = bcp - method->code_base();
-    st->print("[%d] ", (int) Thread::current()->osthread()->thread_id());
+    st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id());
     if (Verbose) {
       st->print("%8d  %4d  " INTPTR_FORMAT " " INTPTR_FORMAT " %s",
            BytecodeCounter::counter_value(), bci, tos, tos2, Bytecodes::name(code));