CNI changes (Was: Binary Compatibility)
Mon Aug 4 18:51:00 GMT 2003
> -----Original Message-----
> From: Tom Tromey [mailto:email@example.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.
More information about the Java