Bug?

Sunil Soman sunils at cs.ucsb.edu
Tue Oct 16 06:05:17 PDT 2007


Hi Gary,

I suppose that you mean the call to "pass_int" instead of  
"pass_float" when LP64 is undefd? Not entirely sure about intel, but  
from interpreter_sparc.cpp:

"   301 // LP64 passes floating point arguments in F1, F3, F5, etc.  
instead of
     302 // O0, O1, O2 etc..
     303 // Doubles are passed in D0, D2, D4
     304 // We store the signature of the first 16 arguments in the  
first argument
     305 // slot because it will be overwritten prior to calling the  
native
     306 // function, with the pointer to the JNIEnv.
     307 // If LP64 there can be up to 16 floating point arguments in  
registers
     308 // or 6 integer registers."


Hope that helps.
Sunil

On Oct 16, 2007, at 2:29 AM, Gary Benson wrote:

> Hi all,
>
> I'm looking at hotspot/src/share/vm/runtime/signature.hpp from b22.
> Is line 285 really correct?
>
> Cheers,
> Gary
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20071016/f68f7754/attachment.html 


More information about the hotspot-dev mailing list