This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: "Image-based development" with Kawa
- From: Per Bothner <per at bothner dot com>
- To: Oliver Flasch <oliver dot flasch at cs dot uni-dortmund dot de>
- Cc: kawa at sourceware dot org
- Date: Mon, 09 Oct 2006 10:10:21 -0700
- Subject: Re: "Image-based development" with Kawa
- References: <7F818BE5-E3B0-435C-91A6-71EF29269BDC@cs.uni-dortmund.de>
Oliver Flasch wrote:
Thank you very much for the clarifications, I can now see my own
misconceptions. I am currently trying to get the (de-)serialization of
ArrayClassLoaders to work. This seems to be a little more difficult than
I hoped, due to the fact that ArrayClassLoader's map field is a mapping
from class name to Class object at the time I query it (instead of a
mapping from class name to byte[]).
Yes, this makes it possible to garbage collect the byte[] when it is
presumably no longer needed. Perhaps we need a bit in
ArrayClassLoader to indicate it should save the byte arrays. Or
perhaps a serializable sub-class of ArrayClassLoader.
--
--Per Bothner
per@bothner.com http://per.bothner.com/