]> Cypherpunks repositories - gostls13.git/commit
runtime: move sizeclass defs to new package internal/runtime/gc
authorMichael Anthony Knyszek <mknyszek@google.com>
Tue, 4 Mar 2025 19:02:48 +0000 (19:02 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 23 Apr 2025 15:00:33 +0000 (08:00 -0700)
commit528bafa0498bb26a3b3961fa5bf50d02bd7101bb
treeeb72406f4a0ce690d368b2377e2df031457775ca
parentecdd429a3be7abde6e169b79da13bffdba064cb4
runtime: move sizeclass defs to new package internal/runtime/gc

We will want to reference these definitions from new generator programs,
and this is a good opportunity to cleanup all these old C-style names.

Change-Id: Ifb06f0afc381e2697e7877f038eca786610c96de
Reviewed-on: https://go-review.googlesource.com/c/go/+/655275
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
17 files changed:
src/cmd/internal/objabi/pkgspecial.go
src/go/build/deps_test.go
src/internal/runtime/gc/mksizeclasses.go [moved from src/runtime/mksizeclasses.go with 91% similarity]
src/internal/runtime/gc/sizeclasses.go [moved from src/runtime/sizeclasses.go with 59% similarity]
src/runtime/export_test.go
src/runtime/heapdump.go
src/runtime/malloc.go
src/runtime/mcache.go
src/runtime/mcentral.go
src/runtime/metrics.go
src/runtime/mgcsweep.go
src/runtime/mheap.go
src/runtime/mpagealloc.go
src/runtime/msize.go
src/runtime/mstats.go
src/runtime/stack.go
src/runtime/traceallocfree.go