[Mono-list] Re: bug report for new JIT

Jeroen Frijters jeroen@sumatra.nl
Wed, 9 Apr 2003 17:27:29 +0200


On Wednesday, April 09, 2003 16:31, dietmar wrote:
> Interned strings are not collected because we store them=20
> inside a hash table which holds a reference.

Hmm. Most Java VMs (since 1.2) use weak references for the intern
hashtable. I just did some test and it appears that the Microsoft .NET
runtime doesn't collect interned strings.

What happens with interned strings when the AppDomain that interned them
gets unloaded?

Regards,
Jeroen