Race detector dogfood

122 views
Skip to first unread message

Dmitry Vyukov

unread,
Oct 10, 2012, 3:01:37 PM10/10/12
to golang-dev
Good news everyone!

I've finished committing data race detector patches today.

You are welcome to dogfood it. To run you tests "go test -race", to build a program "go build -race". And you need to sync to tip. It works only on linux/darwin/amd64 for now.
The race detector slows down execution considerably and increases memory consumption.

I am interested in:
1. Bug reports.
2. False positives.
3. Success stories.
4. Any other comments and suggestions.

TIA

Tarmigan

unread,
Oct 10, 2012, 8:54:54 PM10/10/12
to golang-dev
That is really cool!

Could you write a blog post about it at some point (maybe for go1.1)
or is there some documentation about the design and how it works?

Thanks,
Tarmigan

Dave Cheney

unread,
Oct 10, 2012, 11:34:49 PM10/10/12
to Tarmigan, golang-dev
Yes! Fantastic work, and double points for the Futurama reference.

Can I ask, http://build.golang.org/log/61e43a328fb220801d3d5c88cd91916cfc5dc43c,
is this issue already reported, or is it new ?

Vladimir Mihailenco

unread,
Oct 14, 2012, 9:32:27 AM10/14/12
to Dave Cheney, Tarmigan, golang-dev
I've tried to run changeset 14624:fc8137c00f9c on https://github.com/vmihailenco/redis tests. It consumed all my free memory: 1.3 gb and 18gb virt memory according to htop output. I waited > 5 mins, but tests were not finished and I reset my PC. I am at x64 Ubuntu 12.04.
Reply all
Reply to author
Forward
0 new messages