< prev index next >

src/hotspot/share/utilities/vmError.cpp

Print this page
@@ -343,11 +343,12 @@
      return os::get_sender_for_C_frame(&fr);
    }
  }
  
  void VMError::print_native_stack(outputStream* st, frame fr, Thread* t, char* buf, int buf_size) {
- 
+   if (t != NULL) st->print_cr("Thread " INTPTR_FORMAT " [%ld]", p2i(t), (long) t->osthread()->thread_id());
+   
    // see if it's a valid frame
    if (fr.pc()) {
      st->print_cr("Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)");
  
      int count = 0;
< prev index next >