This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
CNI Memory Management
- From: "Craig A. Vanderborgh" <craigv at voxware dot com>
- To: java at gcc dot gnu dot org
- Date: 11 Jun 2003 18:07:38 -0600
- Subject: 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