Interpreter frame layout

Sagar M D sagar.md at gmail.com
Sun Nov 11 00:16:49 PST 2012


Hi All,

i was trying to understand the interpreter frame layout in 64-bit,
basically how compiled frame arguments passed on to interpreter frame.

It looks like each arguments has 2 slots on interpreter frame( 4 bytes
each) and long and double has 4 slots.

Even though one slot is enough for arguments like int , object float etc
why 2 slots has been defined ? and same for long and double, why 4 slots?

consider compiled frame is passing 2 arguments (int and float). is below
layout is correct for that? is there any endianess assumption here?

 X-15 value(long)  X-7 junk  X value(int) junk    lo hi
X --> stack address

Thanks,
Sagar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20121111/b8ab2a34/attachment.html 


More information about the hotspot-runtime-dev mailing list