This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: CNI namespace


ks@micky.rgv.hp.com writes:

> Wouldn't one need to get locks, while for the other getting locks would
> be just pure overhead?

Huh?  I suspect you misunderstood Tom's comment.

I wrote:
> I don't get it.  How does having two kinds of jobject help?

I thought of one possibility:  You have a jni jobject that is some
kind of indirect handle, while for cni jobject (assuming you have
a gc-aware G++) you can use the java::lang"::Object pointer directly.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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