Who and when do put receiver onto the stack in bytecode interpreter?

Colin(Du Li) dawn2004 at gmail.com
Sun Jun 7 21:20:45 PDT 2009



Hi, I have a question about the c++ interpreter.
For an "invokevirtual" method, the operand stack is like:
    ..., objectref, [arg1, [arg2 ...]] 

I know the arguments are put onto the stack by some "load" instructions
explicitly. But, how is the objectref (receiver object) put onto the stack?
Who did that and when?

Thanks a lot!

Colin
-- 
View this message in context: http://www.nabble.com/Who-and-when-do-put-receiver-onto-the-stack-in-bytecode-interpreter--tp23918031p23918031.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.




More information about the hotspot-dev mailing list