Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Keeping c++ object stored in memory to access methods

843829Oct 4 2002 — edited Oct 7 2002
Hi guys,

Am currently writing java jni code to talk to a c++ object. the problem is that i need to make the code fast, but each time i make the call i have to reinitialise the c++ object which is taking time. therefore i want to load up the initialised c++ object in java keep it there and have access to it's methods. cant seem to find an example of this. can anyone point me in the right direction, ideally would like to see a tutorial or example of this being practiced?

thanks

will
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2002
Added on Oct 4 2002
6 comments
326 views