process_worklist() was doing too much work

2014-01-28 Thread Nicholas Clark
I believe that process_worklist() only needs to enforce the GC invariant if the object moved. The comment notes "In moving an object to generation 2"... but the code had been doing the work for *all* objects in generation 2, not just those moved there. We know whether we have just moved an object

Re: P6opaque ends up serialising uninitialised memory

2014-01-28 Thread Nicholas Clark
On Mon, Jan 27, 2014 at 09:43:49PM +, Nicholas Clark wrote: > With this, core setting just produces 1 error from valgrind: > I'm not sure how to find that one. Writing everything plausible to /dev/null helped a lot, as it caused valgrind to produce an earlier backtrace: diff --cc src/mast/c