]> Cypherpunks repositories - gostls13.git/commit
runtime/race: switch to explicit race context instead of goroutine id's
authorDmitriy Vyukov <dvyukov@google.com>
Wed, 6 Feb 2013 07:40:54 +0000 (11:40 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Wed, 6 Feb 2013 07:40:54 +0000 (11:40 +0400)
commit0a40cd2661a14baa9a57b4f5af84494455d83f88
treefcb6b00b3305406b1ec5c62a8e14b103b9685e0b
parent33995fe59eddb3f84e537a8d44e39ef93bc764e8
runtime/race: switch to explicit race context instead of goroutine id's
Removes limit on maximum number of goroutines ever existed.
code.google.com/p/goexecutor tests now pass successfully.
Also slightly improves performance.
Before: $ time ./flate.test -test.short
real 0m9.314s
After:  $ time ./flate.test -test.short
real 0m8.958s
Fixes #4286.
The runtime is built from llvm rev 174312.

R=rsc
CC=golang-dev
https://golang.org/cl/7218044
src/pkg/runtime/proc.c
src/pkg/runtime/race.c
src/pkg/runtime/race.h
src/pkg/runtime/race/race.go
src/pkg/runtime/race/race_darwin_amd64.syso
src/pkg/runtime/race/race_linux_amd64.syso
src/pkg/runtime/race/race_windows_amd64.syso
src/pkg/runtime/race0.c
src/pkg/runtime/runtime.h