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

bryanxu/go-zh,rdp/rogerpack2005-golang,bryanxu/go-zh,glycerine/jeaten-go-arrayof-structof,sanjosh/sanjos100-tipc,bryanxu/go-zh,rflanagan/reginaldflanagan-project1,d0f/go-zh,webfd/go-zh,glycerine/jeaten-go-arrayof-structof,webfd/go-zh,bryanxu/go-zh,d0f/go-zh,rflanagan/reginaldflanagan-project1,bryanxu/go-zh,rflanagan/reginaldflanagan-project1,sanjosh/sanjos100-tipc,scirelli/scirelli-go,d0f/go-zh,webfd/go-zh,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,rdp/rogerpack2005-golang,scirelli/scirelli-go,scirelli/scirelli-go,scirelli/scirelli-go,rdp/rogerpack2005-golang,d0f/go-zh,mhennings/marcohennings-go,rdp/rogerpack2005-golang,mhennings/marcohennings-go,glycerine/jeaten-go-arrayof-structof,mhennings/marcohennings-go,scirelli/scirelli-go,mhennings/marcohennings-go,glycerine/jeaten-go-arrayof-structof,scirelli/scirelli-go,rdp/rogerpack2005-golang,mhennings/marcohennings-go,rflanagan/reginaldflanagan-project1,d0f/go-zh,webfd/go-zh,webfd/go-zh,webfd/go-zh,rdp/rogerpack2005-golang,scirelli/scirelli-go,bryanxu/go-zh,d0f/go-zh,rdp/rogerpack2005-golang,rflanagan/reginaldflanagan-project1,scirelli/scirelli-go,bryanxu/go-zh,mhennings/marcohennings-go,bryanxu/go-zh,webfd/go-zh,sanjosh/sanjos100-tipc,glycerine/jeaten-go-arrayof-structof,rflanagan/reginaldflanagan-project1,rdp/rogerpack2005-golang,glycerine/jeaten-go-arrayof-structof,rflanagan/reginaldflanagan-project1,sanjosh/sanjos100-tipc,glycerine/jeaten-go-arrayof-structof,rflanagan/reginaldflanagan-project1,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,d0f/go-zh,mhennings/marcohennings-go,webfd/go-zh,glycerine/jeaten-go-arrayof-structof,d0f/go-zh,mhennings/marcohennings-go