]> Cypherpunks repositories - gostls13.git/commit
runtime: get rid of gc programs for types
authorKeith Randall <khr@golang.org>
Thu, 26 Sep 2024 05:34:43 +0000 (22:34 -0700)
committerKeith Randall <khr@golang.org>
Mon, 18 Nov 2024 20:36:14 +0000 (20:36 +0000)
commit45869f5931554f0db1169bc268db7ffd8d400e9e
tree944c0783044e53eac41c9176ad73ba0ac8aca3de
parent7588cc9b00ec570043c1ee699eace8aa69c106c0
runtime: get rid of gc programs for types

Instead, have the runtime build the gc bitmaps on demand
at runtime.

Change-Id: If7a245bc62e4bce3ce80972410b0ed307d921abe
Reviewed-on: https://go-review.googlesource.com/c/go/+/616255
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>
20 files changed:
src/cmd/compile/internal/reflectdata/reflect.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/decodesym.go
src/cmd/link/internal/ld/lib.go
src/internal/abi/type.go
src/reflect/all_test.go
src/reflect/export_test.go
src/reflect/type.go
src/runtime/arena.go
src/runtime/bitcursor_test.go [new file with mode: 0644]
src/runtime/cgocheck.go
src/runtime/export_test.go
src/runtime/gcinfo_test.go
src/runtime/malloc.go
src/runtime/mbitmap.go
src/runtime/mgcsweep.go
src/runtime/race/testdata/map_test.go
src/runtime/stkframe.go
src/runtime/stubs.go
src/runtime/type.go