]> Cypherpunks repositories - gostls13.git/commit
runtime: fix iterator returns map entries after clear (pre-swissmap)
authorYoulin Feng <fengyoulin@live.com>
Tue, 5 Nov 2024 09:21:57 +0000 (17:21 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 12 Nov 2024 21:08:08 +0000 (21:08 +0000)
commit1f8fa4941f632575468498bfac48fc1cbbf1a54f
tree5cb0148c21ec9448d0c3c1267f1a92829f03b9c1
parent3efbc30f3d6a35cb5b0fc29d8bb3f43d59304771
runtime: fix iterator returns map entries after clear (pre-swissmap)

Fixes #70189
Fixes #59411

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-noswissmap
Change-Id: I4ef7ecd7e996330189309cb2a658cf34bf9e1119
Reviewed-on: https://go-review.googlesource.com/c/go/+/625275
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/reflectdata/map_noswiss.go
src/reflect/map_noswiss.go
src/runtime/map_noswiss.go
src/runtime/map_noswiss_test.go
test/fixedbugs/issue70189.go [new file with mode: 0644]