]> Cypherpunks repositories - gostls13.git/commit
runtime: add concurrent write checks to swissmap
authorMichael Pratt <mpratt@google.com>
Tue, 17 Sep 2024 20:30:04 +0000 (16:30 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 30 Oct 2024 15:05:37 +0000 (15:05 +0000)
commit2220fd36368c96da3dd833bdc2bbd13be291216a
treeb4357eca1856c000e571d1eb5f9dec54d4258344
parent3a6795554daf96d4e01ab02f999a1ea7dde2660c
runtime: add concurrent write checks to swissmap

This is the same design as existing maps.

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-swissmap
Change-Id: I5f6ef5fea1e0f0616bcd90eaae7faee4cdac58c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/616460
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/reflectdata/map_swiss.go
src/internal/runtime/maps/map.go
src/internal/runtime/maps/runtime_swiss.go
src/internal/runtime/maps/table.go
src/runtime/map_swiss.go