Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/javaClasses.hpp @ 3272:01147d8aac1d
7009923: JSR 292: VM crash in JavaThread::last_frame
Summary: 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
author | coleenp |
---|---|
date | Tue, 26 Apr 2011 14:04:43 -0400 |
parents | 352622fd140a |
children | 167b70ff3abc |
comparison
equal
deleted
inserted
replaced
3271:cdd13dce903e | 3272:01147d8aac1d |
---|---|
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); |