hotspot/src/share/vm/utilities/vmError.hpp
changeset 5340 b838d4165c92
parent 2154 72a9b7284ccf
child 5403 6b0dd9c75dde
--- a/hotspot/src/share/vm/utilities/vmError.hpp	Fri Apr 16 05:05:53 2010 -0700
+++ b/hotspot/src/share/vm/utilities/vmError.hpp	Mon Apr 19 02:13:06 2010 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2009 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2010 Sun Microsystems, Inc.  All Rights Reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -70,6 +70,10 @@
   // generate an error report
   void report(outputStream* st);
 
+  // generate a stack trace
+  static void print_stack_trace(outputStream* st, JavaThread* jt,
+                                char* buf, int buflen, bool verbose = false);
+
   // accessor
   const char* message()         { return _message; }