Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/javaClasses.cpp @ 14768:3e9a960f0da1
HSAIL: preliminary deopt support
Contributed-by: Tom Deneau <tom.deneau@amd.com>
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 26 Mar 2014 17:33:54 +0100 |
parents | d8041d695d19 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14767:ded08e344e4a | 14768:3e9a960f0da1 |
---|---|
1527 if (max_depth >= 1 && method() != NULL) { | 1527 if (max_depth >= 1 && method() != NULL) { |
1528 bt.push(method(), 0, CHECK); | 1528 bt.push(method(), 0, CHECK); |
1529 set_backtrace(throwable(), bt.backtrace()); | 1529 set_backtrace(throwable(), bt.backtrace()); |
1530 } | 1530 } |
1531 return; | 1531 return; |
1532 } | |
1533 | |
1534 // Check for gpu exception to add as top frame | |
1535 Method* gpu_method = thread->get_gpu_exception_method(); | |
1536 if (gpu_method != NULL) { | |
1537 jint gpu_bci = thread->get_gpu_exception_bci(); | |
1538 bt.push(gpu_method, gpu_bci, CHECK); | |
1539 // Clear the gpu exception state, it is not used after here | |
1540 thread->set_gpu_exception_bci(0); | |
1541 thread->set_gpu_exception_method(NULL); | |
1532 } | 1542 } |
1533 | 1543 |
1534 // Instead of using vframe directly, this version of fill_in_stack_trace | 1544 // Instead of using vframe directly, this version of fill_in_stack_trace |
1535 // basically handles everything by hand. This significantly improved the | 1545 // basically handles everything by hand. This significantly improved the |
1536 // speed of this method call up to 28.5% on Solaris sparc. 27.1% on Windows. | 1546 // speed of this method call up to 28.5% on Solaris sparc. 27.1% on Windows. |