]> Cypherpunks repositories - gostls13.git/commitdiff
internal/buildcfg: enable specializedmalloc experiment
authorMichael Matloob <matloob@golang.org>
Mon, 17 Mar 2025 15:45:52 +0000 (11:45 -0400)
committerMichael Matloob <matloob@google.com>
Fri, 3 Oct 2025 16:35:06 +0000 (09:35 -0700)
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64_c2s16-perf_vs_parent,gotip-linux-amd64_c3h88-perf_vs_parent,gotip-linux-arm64_c4ah72-perf_vs_parent,gotip-linux-arm64_c4as16-perf_vs_parent
Change-Id: I6a6a6964c4c596bbf4f072b5a44a34c3ce4f6541
Reviewed-on: https://go-review.googlesource.com/c/go/+/696536
Reviewed-by: Michael Matloob <matloob@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

index 707776b374b0d4fe142992834e431ab61bc7937f..d06913d9a7f25a92426d6c7e7ca42a9c897e1135 100644 (file)
@@ -79,10 +79,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,
+               RegabiWrappers:        regabiSupported,
+               RegabiArgs:            regabiSupported,
+               Dwarf5:                dwarf5Supported,
+               RandomizedHeapBase64:  true,
+               SizeSpecializedMalloc: true,
        }
 
        // Start with the statically enabled set of experiments.