[go] runtime: set GOEXPERIMENT=runtimefreegc to disabled by default

16 views
Skip to first unread message

t hepudds (Gerrit)

unread,
Nov 14, 2025, 4:37:59 PM11/14/25
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Go LUCI, Junyang Shao, Austin Clements, Michael Knyszek, Gopher Robot, golang-co...@googlegroups.com

t hepudds submitted the change

Unreviewed changes

1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Change information

Commit message:
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-by: Junyang Shao <shaoj...@google.com>
Reviewed-by: Michael Knyszek <mkny...@google.com>
Files:
  • M src/internal/buildcfg/exp.go
  • D src/internal/goexperiment/exp_runtimefree_off.go
  • D src/internal/goexperiment/exp_runtimefree_on.go
  • A src/internal/goexperiment/exp_runtimefreegc_off.go
  • A src/internal/goexperiment/exp_runtimefreegc_on.go
  • M src/internal/goexperiment/flags.go
Change size: S
Delta: 6 files changed, 18 insertions(+), 19 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Junyang Shao, +2 by Michael Knyszek
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I94a34784700152e13ca93ef6711ee9b7f1769d9a
Gerrit-Change-Number: 720120
Gerrit-PatchSet: 5
Gerrit-Owner: t hepudds <thepud...@gmail.com>
Gerrit-Reviewer: Junyang Shao <shaoj...@google.com>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: t hepudds <thepud...@gmail.com>
Gerrit-CC: Austin Clements <aus...@google.com>
Gerrit-CC: Gopher Robot <go...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages