]> Cypherpunks repositories - gostls13.git/commit
runtime: remove the allocheaders GOEXPERIMENT
authorMichael Anthony Knyszek <mknyszek@google.com>
Tue, 9 Apr 2024 03:41:06 +0000 (03:41 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 9 Apr 2024 04:07:57 +0000 (04:07 +0000)
commit9f3f4c64dbfd37ef9f7113708a706a8099d72fd9
tree05048ee9895b3a6866c86f128ef3a6b84a54d493
parent9f13665088012298146c573bc2a7255b1caf2750
runtime: remove the allocheaders GOEXPERIMENT

This change removes the allocheaders, deleting all the old code and
merging mbitmap_allocheaders.go back into mbitmap.go.

This change also deletes the SetType benchmarks which were already
broken in the new GOEXPERIMENT (it's harder to set up than before). We
weren't really watching these benchmarks at all, and they don't provide
additional test coverage.

Change-Id: I135497201c3259087c5cd3722ed3fbe24791d25d
Reviewed-on: https://go-review.googlesource.com/c/go/+/567200
Reviewed-by: Keith Randall <khr@google.com>
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@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
23 files changed:
src/cmd/compile/internal/test/inl_test.go
src/internal/buildcfg/exp.go
src/internal/goexperiment/exp_allocheaders_off.go [deleted file]
src/internal/goexperiment/exp_allocheaders_on.go [deleted file]
src/internal/goexperiment/exp_exectracer2_off.go
src/internal/goexperiment/exp_exectracer2_on.go
src/internal/goexperiment/flags.go
src/runtime/arena.go
src/runtime/cgocall.go
src/runtime/cgocheck.go
src/runtime/export_test.go
src/runtime/gc_test.go
src/runtime/heapdump.go
src/runtime/malloc.go
src/runtime/mbitmap.go
src/runtime/mbitmap_allocheaders.go [deleted file]
src/runtime/mbitmap_noallocheaders.go [deleted file]
src/runtime/mfinal.go
src/runtime/mgcmark.go
src/runtime/mgcsweep.go
src/runtime/mheap.go
src/runtime/msize.go [moved from src/runtime/msize_allocheaders.go with 97% similarity]
src/runtime/msize_noallocheaders.go [deleted file]