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

Paolo Molaro lupus@ximian.com
Wed, 9 Apr 2003 18:38:40 +0200

On 04/09/03 Jeroen Frijters wrote:
> What happens with interned strings when the AppDomain that interned them
> gets unloaded?

In mono strings belong to the domain they were loaded in, so when the
domain is unloaded, they get garbage collected with it.
Since we now do lazy sharing of the intern table, I'll have to add a
little function to sync the tables at appdomain unload (basically, it's
just ensuring all the strings that were interned in the unloading
appdomain are also in at least one other appdomain table).


lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better