+2010-05-28 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * sgen-gc.c: Add a note about the int[] trick to avoid some
+ memset.
+
2010-05-27 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (sort_addresses): Use heap sort since it has better
assigned TLABs and if that's more than some percentage of the
nursery size, reduce the TLAB size.
+ *) Explore placing unreachable objects on unused nursery memory.
+ Instead of memset'ng a region to zero, place an int[] covering it.
+ A good place to start is add_nursery_frag. The tricky thing here is
+ placing those objects atomically outside of a collection.
+
+
*/
#include "config.h"
#ifdef HAVE_SGEN_GC
fragment_total += frag_size;
} else {
/* Clear unused fragments, pinning depends on this */
+ /*TODO place an int[] here instead of the memset if size justify it*/
memset (frag_start, 0, frag_size);
}
}