Re: Reinitializer failing to run

Taylor R Campbell <[email protected]> Tue, 30 Apr 2013 18:32:51 +0000
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
   Date: Tue, 30 Apr 2013 10:08:02 -0700
   From: Will Noble <[email protected]>

   Of course, it would be great if we don't get any unneeded reinitializers=
 (or
   code to reload unneeded share objects) in images.=20

The dynamic externals reloading mechanism currently doesn't use
reinitializers because it has to run before lots of them.  What if
each reinitializer had a list of those reinitializers that it depends
on, so that anything relying on dynamic externals would have to list
the dynamic externals renitializer?  If nothing depends on dynamic
externals then the dynamic externals reinitializer could be GC'd and
wouldn't have to run.