From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Mon, 4 Apr 2011 15:19:41 -0400 Message-ID: Subject: Re: [9fans] Go Plan 9 From: Russ Cox To: 9fans <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Topicbox-Message-UUID: c8269042-ead6-11e9-9d60-3106f5b1d025 [Sorry for being quiet, I got unsubscribed from 9fans!] > no, the shared libraries are not going to affect the heap size. > Certainly not to this scale. > > My understanding was that Go used this large sparse address space to > effect for its garbage collection; the fact that it is backed by mmap > of anonymous memory is what makes it work, since pages are not > allocated until touched. Russ? The large sparse address space is nice on 64-bit because you can do some address calculation tricks. On 32-bit it just doesn't matter. I think the current code in package runtime is correct already for Plan 9. Russ