Simon,
Each time JIT plans to call a method, it does the following:
1) if method is not resolved, JIT inserts a call to resolution stub;
2) if method is available, JIT asks for
MethodDesc::getCodeBlockAddress(0) on this method. If method is not
compiled yet, VM has generated special "compile_me" for this method on
class preparation, and its address will be returned in a call to
getCodeBlockAddress.
WBR,
Pavel.
On 3/4/08, Simon Chow <[EMAIL PROTECTED]> wrote:
> Att.
> If the callee is not compiled, how does JIT prepare the entry location of
> callee?
>
> --
> From : [EMAIL PROTECTED] School of Fudan University
>
--
Pavel Pervov,
Intel Enterprise Solutions Software Division