]> Cypherpunks repositories - gostls13.git/commit
runtime: set GOEXPERIMENT=runtimefreegc to disabled by default
authorthepudds <thepudds1460@gmail.com>
Thu, 13 Nov 2025 01:50:39 +0000 (20:50 -0500)
committert hepudds <thepudds1460@gmail.com>
Fri, 14 Nov 2025 21:37:56 +0000 (13:37 -0800)
commit5a347b775e051060f6f52ce25ec82a024a3a9365
tree9da5c211d1e299c265dc0ccf922d234e0c7d5bf5
parent1a03d0db3f36c1a81a184fa15a54f716569a9972
runtime: set GOEXPERIMENT=runtimefreegc to disabled by default

This CL is part of a set of CLs that attempt to reduce how much work the
GC must do. See the design in https://go.dev/design/74299-runtime-freegc

The plan has been for GOEXPERIMENT=runtimefreegc to be disabled
by default for Go 1.26, so here we disable it.

Also, we update the name of the GOEXPERIMENT to reflect the latest name.

Updates #74299

Change-Id: I94a34784700152e13ca93ef6711ee9b7f1769d9a
Reviewed-on: https://go-review.googlesource.com/c/go/+/720120
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/internal/buildcfg/exp.go
src/internal/goexperiment/exp_runtimefree_off.go [deleted file]
src/internal/goexperiment/exp_runtimefree_on.go [deleted file]
src/internal/goexperiment/exp_runtimefreegc_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_runtimefreegc_on.go [new file with mode: 0644]
src/internal/goexperiment/flags.go