aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/race/testdata
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2024-09-25 22:34:43 -0700
committerKeith Randall <khr@golang.org>2024-11-18 20:36:14 +0000
commit45869f5931554f0db1169bc268db7ffd8d400e9e (patch)
tree944c0783044e53eac41c9176ad73ba0ac8aca3de /src/runtime/race/testdata
parent7588cc9b00ec570043c1ee699eace8aa69c106c0 (diff)
downloadgo-45869f5931554f0db1169bc268db7ffd8d400e9e.tar.xz
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>
Diffstat (limited to 'src/runtime/race/testdata')
-rw-r--r--src/runtime/race/testdata/map_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/race/testdata/map_test.go b/src/runtime/race/testdata/map_test.go
index 88e735ecd3..83f59b751e 100644
--- a/src/runtime/race/testdata/map_test.go
+++ b/src/runtime/race/testdata/map_test.go
@@ -242,7 +242,7 @@ func TestRaceMapAssignMultipleReturn(t *testing.T) {
}
// BigKey and BigVal must be larger than 256 bytes,
-// so that compiler sets KindGCProg for them.
+// so that compiler stores them indirectly.
type BigKey [1000]*int
type BigVal struct {