Mercurial > hg > graal-jvmci-8
diff src/share/vm/c1x/c1x_VMExits.hpp @ 1441:f8ab19e5acae
Fix oop relocation for static stub calls.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Wed, 03 Nov 2010 16:40:38 +0100 |
parents | 9e5e83ca2259 |
children | 50ff0b5b971b |
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_VMExits.hpp Mon Nov 01 23:50:37 2010 +0100 +++ b/src/share/vm/c1x/c1x_VMExits.hpp Wed Nov 03 16:40:38 2010 +0100 @@ -80,8 +80,10 @@ }; inline void check_pending_exception(const char* message) { - if (Thread::current()->has_pending_exception()) { - Thread::current()->pending_exception()->print(); + Thread* THREAD = Thread::current(); + if (THREAD->has_pending_exception()) { + java_lang_Throwable::print(PENDING_EXCEPTION, tty); + java_lang_Throwable::print_stack_trace(PENDING_EXCEPTION, tty); fatal(message); } }