comparison 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
comparison
equal deleted inserted replaced
5843:f0837ce4d948 5844:a432e6d43aa1
1694 // where we went int -> i2c -> c2i and so the caller could in fact be 1694 // where we went int -> i2c -> c2i and so the caller could in fact be
1695 // interpreted. If the caller is compiled we attempt to patch the caller 1695 // interpreted. If the caller is compiled we attempt to patch the caller
1696 // so he no longer calls into the interpreter. 1696 // so he no longer calls into the interpreter.
1697 IRT_LEAF(void, SharedRuntime::fixup_callers_callsite(methodOopDesc* method, address caller_pc)) 1697 IRT_LEAF(void, SharedRuntime::fixup_callers_callsite(methodOopDesc* method, address caller_pc))
1698 methodOop moop(method); 1698 methodOop moop(method);
1699
1700 assert(moop->is_oop(false) && moop->is_method(), "method oop from call site is invalid");
1699 1701
1700 address entry_point = moop->from_compiled_entry(); 1702 address entry_point = moop->from_compiled_entry();
1701 1703
1702 // It's possible that deoptimization can occur at a call site which hasn't 1704 // It's possible that deoptimization can occur at a call site which hasn't
1703 // been resolved yet, in which case this function will be called from 1705 // been resolved yet, in which case this function will be called from