]> Cypherpunks repositories - gostls13.git/commit
runtime: prevent garbage collection during hashmap insertion (fix 2)
authorJan Ziak <0xe2.0x9a.0x9b@gmail.com>
Wed, 20 Mar 2013 19:36:33 +0000 (20:36 +0100)
committerJan Ziak <0xe2.0x9a.0x9b@gmail.com>
Wed, 20 Mar 2013 19:36:33 +0000 (20:36 +0100)
commit2001f0c28ef4f2b7b907d060901a6fad2f1e9eb0
treedaae0b21c75ce0a1f232a40616d6629f8416c358
parentbd21f7f1b59325d128bec1d26074aba75dc18b04
runtime: prevent garbage collection during hashmap insertion (fix 2)

Fixes #5074 in multi-threaded scenarios.

R=golang-dev, daniel.morsing, dave, dvyukov, bradfitz, rsc
CC=golang-dev, remyoudompheng
https://golang.org/cl/7916043
src/pkg/runtime/malloc.goc