diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2025-07-23 02:33:03 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-07-29 12:10:02 -0700 |
| commit | e15a14c4ddcb7854ecb5fb2f6dc01e8933a11652 (patch) | |
| tree | 0ed9446a287d60444d3877ec0c01f400a840c932 /src/internal | |
| parent | 7dccd6395cd88e69654409f46d57931d1f9b90a0 (diff) | |
| download | go-e15a14c4ddcb7854ecb5fb2f6dc01e8933a11652.tar.xz | |
sync: remove synchashtriemap GOEXPERIMENT
It's been true by default for a full release. It's time to remove the
old map.
Change-Id: I65507f07725e0084aabd389f37d73ade0b7dc35b
Reviewed-on: https://go-review.googlesource.com/c/go/+/690395
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/internal')
| -rw-r--r-- | src/internal/buildcfg/exp.go | 1 | ||||
| -rw-r--r-- | src/internal/goexperiment/exp_synchashtriemap_off.go | 8 | ||||
| -rw-r--r-- | src/internal/goexperiment/exp_synchashtriemap_on.go | 8 | ||||
| -rw-r--r-- | src/internal/goexperiment/flags.go | 3 |
4 files changed, 0 insertions, 20 deletions
diff --git a/src/internal/buildcfg/exp.go b/src/internal/buildcfg/exp.go index 689ca8ce58..3f3db8f25f 100644 --- a/src/internal/buildcfg/exp.go +++ b/src/internal/buildcfg/exp.go @@ -83,7 +83,6 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) { RegabiArgs: regabiSupported, AliasTypeParams: true, SwissMap: true, - SyncHashTrieMap: true, Dwarf5: dwarf5Supported, } diff --git a/src/internal/goexperiment/exp_synchashtriemap_off.go b/src/internal/goexperiment/exp_synchashtriemap_off.go deleted file mode 100644 index cab23aac1d..0000000000 --- a/src/internal/goexperiment/exp_synchashtriemap_off.go +++ /dev/null @@ -1,8 +0,0 @@ -// Code generated by mkconsts.go. DO NOT EDIT. - -//go:build !goexperiment.synchashtriemap - -package goexperiment - -const SyncHashTrieMap = false -const SyncHashTrieMapInt = 0 diff --git a/src/internal/goexperiment/exp_synchashtriemap_on.go b/src/internal/goexperiment/exp_synchashtriemap_on.go deleted file mode 100644 index 87433ef4de..0000000000 --- a/src/internal/goexperiment/exp_synchashtriemap_on.go +++ /dev/null @@ -1,8 +0,0 @@ -// Code generated by mkconsts.go. DO NOT EDIT. - -//go:build goexperiment.synchashtriemap - -package goexperiment - -const SyncHashTrieMap = true -const SyncHashTrieMapInt = 1 diff --git a/src/internal/goexperiment/flags.go b/src/internal/goexperiment/flags.go index d0ae75d4e1..dd03f971e7 100644 --- a/src/internal/goexperiment/flags.go +++ b/src/internal/goexperiment/flags.go @@ -115,9 +115,6 @@ type Flags struct { // SwissMap enables the SwissTable-based map implementation. SwissMap bool - // SyncHashTrieMap enables the HashTrieMap sync.Map implementation. - SyncHashTrieMap bool - // Synctest enables the testing/synctest package. Synctest bool |
