< prev index next >

src/share/vm/utilities/vmError.hpp

Print this page
rev 13109 : imported patch move_pns

@@ -26,10 +26,11 @@
 #define SHARE_VM_UTILITIES_VMERROR_HPP
 
 #include "utilities/globalDefinitions.hpp"
 
 class Decoder;
+class frame;
 class VM_ReportJavaOutOfMemory;
 
 class VMError : public AllStatic {
   friend class VM_ReportJavaOutOfMemory;
   friend class Decoder;

@@ -97,10 +98,16 @@
 
   // generate a stack trace
   static void print_stack_trace(outputStream* st, JavaThread* jt,
                                 char* buf, int buflen, bool verbose = false);
 
+  // public for use by the internal non-product debugger.
+  NOT_PRODUCT(public:)
+  static void print_native_stack(outputStream* st, frame fr, Thread* t,
+                                 char* buf, int buf_size);
+  NOT_PRODUCT(private:)
+
   static bool should_report_bug(unsigned int id) {
     return (id != OOM_MALLOC_ERROR) && (id != OOM_MMAP_ERROR);
   }
 
   // Write a hint to the stream in case siginfo relates to a segv/bus error
< prev index next >