438 static void allocate_backtrace(Handle throwable, TRAPS); |
438 static void allocate_backtrace(Handle throwable, TRAPS); |
439 // Fill in current stack trace for throwable with preallocated backtrace (no GC) |
439 // Fill in current stack trace for throwable with preallocated backtrace (no GC) |
440 static void fill_in_stack_trace_of_preallocated_backtrace(Handle throwable); |
440 static void fill_in_stack_trace_of_preallocated_backtrace(Handle throwable); |
441 |
441 |
442 // Fill in current stack trace, can cause GC |
442 // Fill in current stack trace, can cause GC |
443 static void fill_in_stack_trace(Handle throwable, TRAPS); |
443 static void fill_in_stack_trace(Handle throwable, methodHandle method, TRAPS); |
444 static void fill_in_stack_trace(Handle throwable); |
444 static void fill_in_stack_trace(Handle throwable, methodHandle method = methodHandle()); |
445 // Programmatic access to stack trace |
445 // Programmatic access to stack trace |
446 static oop get_stack_trace_element(oop throwable, int index, TRAPS); |
446 static oop get_stack_trace_element(oop throwable, int index, TRAPS); |
447 static int get_stack_trace_depth(oop throwable, TRAPS); |
447 static int get_stack_trace_depth(oop throwable, TRAPS); |
448 // Printing |
448 // Printing |
449 static void print(oop throwable, outputStream* st); |
449 static void print(oop throwable, outputStream* st); |