]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: add the allocation headers GOEXPERIMENT and fork files
authorMichael Anthony Knyszek <mknyszek@google.com>
Sat, 28 Oct 2023 16:17:02 +0000 (16:17 +0000)
committerMichael Knyszek <mknyszek@google.com>
Thu, 9 Nov 2023 19:57:50 +0000 (19:57 +0000)
commit25867485a748bbefc938e66330912cd88c2f4acb
tree756da3ce458147b073d5f706ed13b7dc0d8f8e49
parent9f63534858552faa3928ea3ff4c4f12302cb22f9
runtime: add the allocation headers GOEXPERIMENT and fork files

This change adds the allocation headers GOEXPERIMENT which is a no-op.
It forks two runtime files temporarily to make the GOEXPERIMENT easier
to maintain. The forked files are mbitmap.go and msize.go.

Change-Id: I60202c00e614e4517de7dd000029cf80dd0121ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/537980
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/internal/goexperiment/exp_allocheaders_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_allocheaders_on.go [new file with mode: 0644]
src/internal/goexperiment/flags.go
src/runtime/mbitmap.go
src/runtime/mbitmap_allocheaders.go [new file with mode: 0644]
src/runtime/mbitmap_noallocheaders.go [new file with mode: 0644]
src/runtime/msize_allocheaders.go [moved from src/runtime/msize.go with 95% similarity]
src/runtime/msize_noallocheaders.go [new file with mode: 0644]