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 issue 4379.
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 issue 4379.

R=golang-dev, alex.brainman, iant
CC=golang-dev
http://codereview.appspot.com/6849057

gnanderson/go,apparentlymart/golang,pombredanne/go-deleteme,dsriram/golang,tv42/old-go,dsriram/golang,tv42/old-go,tv42/old-go,apparentlymart/golang,apparentlymart/golang,dsriram/golang,gnanderson/go,apparentlymart/golang,pombredanne/go-deleteme,dsriram/golang,tv42/old-go,apparentlymart/golang,dsriram/golang,tv42/old-go,pombredanne/go-deleteme,gnanderson/go,pombredanne/go-deleteme,gnanderson/go,pombredanne/go-deleteme,gnanderson/go,apparentlymart/golang,tv42/old-go,dsriram/golang,apparentlymart/golang,gnanderson/go,tv42/old-go,gnanderson/go,pombredanne/go-deleteme,pombredanne/go-deleteme,dsriram/golang