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)


>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:

Jeff> If _Jv_LookupJNIMethod has no important side effects here, my
Jeff> hunch is that the PR should be closed.

It doesn't have any side effects we need to be concerned with.

(It might allocate memory, and it acquires a lock, both of which are
side effects.  And in theory there is a race where another thread
could load another .so that implements a different form of the JNI
method -- but this is pathological and probably incorrect on the
user's part anyway.)

Tom


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