]> Cypherpunks repositories - gostls13.git/commit
runtime: don't publish new itab table before growth is finished
authorMarvin Stenger <marvin.stenger94@gmail.com>
Wed, 16 Aug 2017 01:39:13 +0000 (03:39 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 29 Aug 2017 13:06:39 +0000 (13:06 +0000)
commitd30f99647a0a5c7f5a84f9832497ea22e938c578
treeeb7d5a598bdd3deca3b4c9f326eb29998a4306f0
parent526f3420c2a25a2bc99ae4cc2750c2598a07c895
runtime: don't publish new itab table before growth is finished

This change could improve the hit rate on itabTable during growth.

While we are here patch comments to refer to existing functions.

Change-Id: I76f81c860a3d6107e077e7e3932550858a8b7651
Reviewed-on: https://go-review.googlesource.com/55912
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/iface.go