This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: CNI changes (Was: Binary Compatibility)


> -----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]