This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: CNI changes (Was: Binary Compatibility)
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- To: "'tromey at redhat dot com'" <tromey at redhat dot com>,"Boehm, Hans" <hans_boehm at hp dot com>
- Cc: "'Jeff Sturm'" <jsturm at one-point dot com>,Andrew Haley <aph at redhat dot com>, Anthony Green <green at redhat dot com>,java at gcc dot gnu dot org
- Date: Mon, 4 Aug 2003 11:51:45 -0700
- Subject: 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