Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
1440:4d1d3bd140f9 | 1441:f8ab19e5acae |
---|---|
78 // public abstract CiConstant createCiConstantObject(long vmId); | 78 // public abstract CiConstant createCiConstantObject(long vmId); |
79 static oop createCiConstantObject(jlong vmId, TRAPS); | 79 static oop createCiConstantObject(jlong vmId, TRAPS); |
80 }; | 80 }; |
81 | 81 |
82 inline void check_pending_exception(const char* message) { | 82 inline void check_pending_exception(const char* message) { |
83 if (Thread::current()->has_pending_exception()) { | 83 Thread* THREAD = Thread::current(); |
84 Thread::current()->pending_exception()->print(); | 84 if (THREAD->has_pending_exception()) { |
85 java_lang_Throwable::print(PENDING_EXCEPTION, tty); | |
86 java_lang_Throwable::print_stack_trace(PENDING_EXCEPTION, tty); | |
85 fatal(message); | 87 fatal(message); |
86 } | 88 } |
87 } | 89 } |