]> Cypherpunks repositories - gostls13.git/commit
runtime: hide mheap from race detector
authorDmitriy Vyukov <dvyukov@google.com>
Fri, 16 Nov 2012 16:06:11 +0000 (20:06 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Fri, 16 Nov 2012 16:06:11 +0000 (20:06 +0400)
commit8f82bff545ed7d1f432038b7ad97e46c4bb5cf77
treebeb9501d348b82ea30723d25437c3b0fea2d3935
parentaa3d05acc9d0e9fba63a3f5375682ae9c5d696b0
runtime: hide mheap from race detector
This significantly decreases amount of shadow memory
mapped by race detector.
I haven't tested on Windows, but on Linux it reduces
virtual memory size from 1351m to 330m for fmt.test.
Fixes #4379.

R=golang-dev, alex.brainman, iant
CC=golang-dev
https://golang.org/cl/6849057
src/pkg/runtime/race.c