Olivier Galibert <galibert(a)pobox.com> writes:
'f' is called. optimize_compiled_function munches the
string and
replaces it with a (newly allocated) opaque.
Then this is wrong. We must strive for readonlyness. Is there any
reason we cannot call optimize_compiled_function on all functions just
before dumping?
There are a bunch of definitively not readonly objects in the
dumped
data. Vobarray comes to mind. This is the core of the problem.
In my comments I was of course assuming read-only objects.
Therefore there must be a way to only sweep non-readonly objects and
we must minimize that set (preferably they would even be on their own
pages in the file).
Jan