diff src/share/vm/runtime/thread.hpp @ 3336:2e038ad0c1d0

7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp Reviewed-by: kvn, twisti
author never
date Mon, 02 May 2011 18:53:37 -0700
parents bf8517f4e4d0
children f52ed367b66d
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.hpp	Mon May 02 10:51:36 2011 -0700
+++ b/src/share/vm/runtime/thread.hpp	Mon May 02 18:53:37 2011 -0700
@@ -1380,6 +1380,12 @@
   void trace_stack_from(vframe* start_vf)        PRODUCT_RETURN;
   void trace_frames()                            PRODUCT_RETURN;
 
+  // Print an annotated view of the stack frames
+  void print_frame_layout(int depth = 0, bool validate_only = false) PRODUCT_RETURN;
+  void validate_frame_layout() {
+    print_frame_layout(0, true);
+  }
+
   // Returns the number of stack frames on the stack
   int depth() const;