]> Cypherpunks repositories - gostls13.git/commit
runtime: for plugins, don't add duplicate itabs
authorKeith Randall <khr@golang.org>
Wed, 11 Jan 2017 23:14:06 +0000 (15:14 -0800)
committerKeith Randall <khr@golang.org>
Tue, 17 Jan 2017 22:37:19 +0000 (22:37 +0000)
commit81a61a96c9c9c67ac1256b443bd5a55ad8fafa0e
treed51d9c97a11d5f316697303cb7706bff9234ebe7
parentf674537cc9dccb0e28ae58277c139d0fb2c5c09f
runtime: for plugins, don't add duplicate itabs

We already do this for shared libraries. Do it for plugins also.
Suggestions on how to test this would be welcome.

I'd like to get this in for 1.8.  It could lead to mysterious
hangs when using plugins.

Fixes #18676

Change-Id: I03209b096149090b9ba171c834c5e59087ed0f92
Reviewed-on: https://go-review.googlesource.com/35117
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
misc/cgo/testplugin/src/issue18676/dynamodbstreamsevt/definition.go [new file with mode: 0644]
misc/cgo/testplugin/src/issue18676/main.go [new file with mode: 0644]
misc/cgo/testplugin/src/issue18676/plugin.go [new file with mode: 0644]
misc/cgo/testplugin/test.bash
src/runtime/plugin.go