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]

CNI Memory Management


Hello Everyone,

My JNI-to-CNI porting work is going very well.  CNI is a wonderful
thing, at least compared to JNI!!

Anyway, my question is this:  When I use things like JvNewByteArray() to
create a byte array, do I have to free it when I'm finished using it? 
Or are such CNI allocations handled by GC?

Please advise!

TIA,
craig vanderborgh
voxware incorporated




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