]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.26] internal/buildcfg: disable sizespecializedmalloc by default
authorMichael Anthony Knyszek <mknyszek@google.com>
Fri, 23 Jan 2026 16:38:50 +0000 (16:38 +0000)
committerMichael Knyszek <mknyszek@google.com>
Fri, 23 Jan 2026 20:43:10 +0000 (12:43 -0800)
We're finding some regressions in overall icache footprint at scale and
we should figure out how to deal with those before rolling this out to
everybody.

Change-Id: I98e792db31712bf64575d76dfeafedb48898f76a
Reviewed-on: https://go-review.googlesource.com/c/go/+/738780
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
(cherry picked from commit 4af8ad24ee3b55ccb644680d95e2502e5551ea0b)
Reviewed-on: https://go-review.googlesource.com/c/go/+/738900

src/internal/buildcfg/exp.go

index df41f79338841fb6a88d45b842625c6388c0dd61..aa41986e8e9387ca5c71cf43362bd6cf2ac76cee 100644 (file)
@@ -81,12 +81,11 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
        dwarf5Supported := (goos != "darwin" && goos != "ios" && goos != "aix")
 
        baseline := goexperiment.Flags{
-               RegabiWrappers:        regabiSupported,
-               RegabiArgs:            regabiSupported,
-               Dwarf5:                dwarf5Supported,
-               RandomizedHeapBase64:  true,
-               SizeSpecializedMalloc: true,
-               GreenTeaGC:            true,
+               RegabiWrappers:       regabiSupported,
+               RegabiArgs:           regabiSupported,
+               Dwarf5:               dwarf5Supported,
+               RandomizedHeapBase64: true,
+               GreenTeaGC:           true,
        }
        flags := &ExperimentFlags{
                Flags:    baseline,