summaryrefslogtreecommitdiff
path: root/test/chan/select3.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-01-28 15:03:26 -0500
committerRuss Cox <rsc@golang.org>2011-01-28 15:03:26 -0500
commitc5713de37c331860aca819f7c6a0927ae40600b2 (patch)
tree8837fa91063e54942a69e958effc697386165b99 /test/chan/select3.go
parent234ea557170e43ee1287c36003b2ef20632c2692 (diff)
downloadgo-c5713de37c331860aca819f7c6a0927ae40600b2.tar.gz
runtime: simpler heap map, memory allocation
The old heap maps used a multilevel table, but that was overkill: there are only 1M entries on a 32-bit machine and we can arrange to use a dense address range on a 64-bit machine. The heap map is in bss. The assumption is that if we don't touch the pages they won't be mapped in. Also moved some duplicated memory allocation code out of the OS-specific files. R=r CC=golang-dev http://codereview.appspot.com/4118042
Diffstat (limited to 'test/chan/select3.go')
0 files changed, 0 insertions, 0 deletions