]> Cypherpunks repositories - gostls13.git/commit
runtime: mark with non-atomic operations when GOMAXPROCS=1
authorDmitriy Vyukov <dvyukov@google.com>
Sat, 16 Aug 2014 05:07:55 +0000 (09:07 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Sat, 16 Aug 2014 05:07:55 +0000 (09:07 +0400)
commitc6fe53a230e70bbb7a5582afe96cacf174eb0335
tree09dc7204610f11bedace8deab9f4df42b8c5b1b9
parent78cc89ce6740057bfbf9da211102c75659f83c89
runtime: mark with non-atomic operations when GOMAXPROCS=1
Perf builders show 3-5% GC pause increase with GOMAXPROCS=1 when marking with atomic ops:
http://goperfd.appspot.com/perfdetail?commit=a8a6e765d6a87f7ccb71fd85a60eb5a821151f85&commit0=3b864e02b987171e05e2e9d0840b85b5b6476386&kind=builder&builder=linux-amd64&benchmark=http

LGTM=rlh
R=golang-codereviews, rlh
CC=dave, golang-codereviews, khr, rsc
https://golang.org/cl/128340043
src/pkg/runtime/mgc0.c