>
>
> below is from kaffe/kaffevm/support.h describes the argument passed
> from java to sysdepCallMethod. the thing that is interesting is it
> notes that if an arg is 64 bits it takes 2 slots in the arglist and
> implys that they are both 64 bits if i read this correctly. can
> anyone confirm this?
Yes.
Note that all args in the arglist are jvalue unions, so they *all* take
64 bits.
In other words, 50% percent of the memory taken by the arg list is
essentially alignment/padding for index-based access.
>
> also what is the field argsize used for as its never mentioned.
>
It's the sum callsize[i] for i = 0 .. nrargs-1.
- Godmar