Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/sharedRuntime.cpp @ 5844:a432e6d43aa1
fixed bugs related to -G:+InlineVTableStubs and re-enabled it by default
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 17 Jul 2012 11:39:50 +0200 |
parents | 837a304d0ca8 |
children | 957c266d8bc5 |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Mon Jul 16 22:09:21 2012 +0200 +++ b/src/share/vm/runtime/sharedRuntime.cpp Tue Jul 17 11:39:50 2012 +0200 @@ -1697,6 +1697,8 @@ IRT_LEAF(void, SharedRuntime::fixup_callers_callsite(methodOopDesc* method, address caller_pc)) methodOop moop(method); + assert(moop->is_oop(false) && moop->is_method(), "method oop from call site is invalid"); + address entry_point = moop->from_compiled_entry(); // It's possible that deoptimization can occur at a call site which hasn't