CNI changes (Was: Binary Compatibility)

Boehm, Hans hans_boehm@hp.com
Mon Aug 4 18:51:00 GMT 2003


> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com]
> Hans> On IA64, this could be fixed by treating cached_function as a C
> Hans> volatile.
> 
> But just to be clear, you're saying that we only need cached_function
> to be volatile if _Jv_LookupJNIMethod does something other than return
> the function pointer.

I believe that's correct.  A pointer load or store by itself is always atomic.

Hans



More information about the Java mailing list