Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 3388:a80577f854f9
7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
Reviewed-by: jrose
author | never |
---|---|
date | Tue, 17 May 2011 19:11:51 -0700 |
parents | f52ed367b66d |
children | be4ca325525a ef2d1b8f2dd4 |
comparison
equal
deleted
inserted
replaced
3385:33ae33516634 | 3388:a80577f854f9 |
---|---|
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() ) { |