]> Cypherpunks repositories - gostls13.git/commit
runtime: rename mallocTiny* to mallocgcTinySize*
authorMichael Matloob <matloob@golang.org>
Mon, 12 Jan 2026 19:37:39 +0000 (14:37 -0500)
committerMichael Matloob <matloob@golang.org>
Tue, 13 Jan 2026 17:52:54 +0000 (09:52 -0800)
commite2fef50def98b87107ab963f657d43d7869b8463
tree2c8edd92823c378b4030ace74f7455939bc2bfb9
parent7f6418bb4e44b1b11d428d402dd6935a2a1ea335
runtime: rename mallocTiny* to mallocgcTinySize*

This makes it easier to identify which functions are used for memory
allocation by looking for functions that start with mallocgc. The Size
suffix is added so that the isSpecializedMalloc function in
cmd/compile/internal/ssa can distinguish between the generated functions
and the mallocgcTiny function called by mallocgc, similar to the SC
suffixes for the mallocgcSmallNoScanSC* and mallocgcSmallScanNoHeaderSC*
functons.

Change-Id: I6ad7f15617bf6f18ae5d1bfa2a0b94e86a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/735780
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssagen/ssa.go
src/runtime/_mkmalloc/mkmalloc.go
src/runtime/malloc_generated.go
src/runtime/malloc_tables_generated.go
test/codegen/strings.go
test/live.go
test/live_regabi.go