Change-Id: I6a6a696497f2a0b0d403bbb11d7502f62edec78b
Reviewed-on: https://go-review.googlesource.com/c/go/+/696535
Auto-Submit: Michael Matloob <matloob@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
--- /dev/null
+// Code generated by mkconsts.go. DO NOT EDIT.
+
+//go:build !goexperiment.sizespecializedmalloc
+
+package goexperiment
+
+const SizeSpecializedMalloc = false
+const SizeSpecializedMallocInt = 0
--- /dev/null
+// Code generated by mkconsts.go. DO NOT EDIT.
+
+//go:build goexperiment.sizespecializedmalloc
+
+package goexperiment
+
+const SizeSpecializedMalloc = true
+const SizeSpecializedMallocInt = 1
// RandomizedHeapBase enables heap base address randomization on 64-bit
// platforms.
RandomizedHeapBase64 bool
+
+ // SizeSpecializedMalloc enables malloc implementations that are specialized per size class.
+ SizeSpecializedMalloc bool
}