hotspot/src/share/vm/runtime/thread.cpp
changeset 9946 b3d5b50e2289
parent 9942 2e86734ba620
child 9992 0d82cce3e655
equal deleted inserted replaced
9943:a9aea2b8010f 9946:b3d5b50e2289
  2859     tty->cr();
  2859     tty->cr();
  2860   }
  2860   }
  2861 }
  2861 }
  2862 
  2862 
  2863 
  2863 
       
  2864 #ifdef ASSERT
  2864 // Print or validate the layout of stack frames
  2865 // Print or validate the layout of stack frames
  2865 void JavaThread::print_frame_layout(int depth, bool validate_only) {
  2866 void JavaThread::print_frame_layout(int depth, bool validate_only) {
  2866   ResourceMark rm;
  2867   ResourceMark rm;
  2867   PRESERVE_EXCEPTION_MARK;
  2868   PRESERVE_EXCEPTION_MARK;
  2868   FrameValues values;
  2869   FrameValues values;
  2876   } else {
  2877   } else {
  2877     tty->print_cr("[Describe stack layout]");
  2878     tty->print_cr("[Describe stack layout]");
  2878     values.print();
  2879     values.print();
  2879   }
  2880   }
  2880 }
  2881 }
  2881 
  2882 #endif
  2882 
  2883 
  2883 void JavaThread::trace_stack_from(vframe* start_vf) {
  2884 void JavaThread::trace_stack_from(vframe* start_vf) {
  2884   ResourceMark rm;
  2885   ResourceMark rm;
  2885   int vframe_no = 1;
  2886   int vframe_no = 1;
  2886   for (vframe* f = start_vf; f; f = f->sender() ) {
  2887   for (vframe* f = start_vf; f; f = f->sender() ) {