On Tue, Jan 17, 2012 at 4:38 PM, Colin Walters <walters@xxxxxxxxxx> wrote: > So what you really want to be investigating here is integration between > a garbage collector and the system VM. Your test program looks nothing > like a garbage collector. I'd expect most of the performance tradeoffs > to be similar between these runtimes. The Azul people have been doing > something like this: http://www.managedruntime.org/ The interraction isn't all that complex, really. I'd expect most VMs to simply wake up the GC thread when poll() returns. GCs that are able to compact the heap can madvise(MADV_DONTNEED) or even munmap() unused parts of the heap. Pekka -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href