mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
7009923: JSR 292: VM crash in JavaThread::last_frame
Handle stack overflow before the first frame is called, by printing out the called method and not walking the stack. Reviewed-by: dholmes, phh, dsamersoff
This commit is contained in:
parent
e074254d05
commit
ab86f12c44
5 changed files with 20 additions and 10 deletions
|
@ -440,8 +440,8 @@ class java_lang_Throwable: AllStatic {
|
|||
static void fill_in_stack_trace_of_preallocated_backtrace(Handle throwable);
|
||||
|
||||
// Fill in current stack trace, can cause GC
|
||||
static void fill_in_stack_trace(Handle throwable, TRAPS);
|
||||
static void fill_in_stack_trace(Handle throwable);
|
||||
static void fill_in_stack_trace(Handle throwable, methodHandle method, TRAPS);
|
||||
static void fill_in_stack_trace(Handle throwable, methodHandle method = methodHandle());
|
||||
// Programmatic access to stack trace
|
||||
static oop get_stack_trace_element(oop throwable, int index, TRAPS);
|
||||
static int get_stack_trace_depth(oop throwable, TRAPS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue