This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Java objects obtained by c++: are they garbage collected?
- From: Yuri <yuri at rawbw dot com>
- To: java at gcc dot gnu dot org
- Date: Fri, 16 Oct 2009 11:19:49 -0700
- Subject: Java objects obtained by c++: are they garbage collected?
- Reply-to: yuri at rawbw dot com
I compiled several Java classes into a shared library and call it's
methods from C++.
Some of these methods return Java objects.
I wonder do I have to do anything special about them in order for them
to get garbage collected?
Yuri