aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug385_64.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2024-04-09 03:56:40 +0000
committerMichael Knyszek <mknyszek@google.com>2024-04-09 14:35:47 +0000
commitde3a3c9ebc801c2cd3513a76676f1a26f600b51d (patch)
tree686d32b7facbaf27899ae57e89b8dc04217bd18d /test/fixedbugs/bug385_64.go
parent9f3f4c64dbfd37ef9f7113708a706a8099d72fd9 (diff)
downloadgo-de3a3c9ebc801c2cd3513a76676f1a26f600b51d.tar.xz
runtime: make zeroing of large objects containing pointers preemptible
This change makes it possible for the runtime to preempt the zeroing of large objects that contain pointers. It turns out this is fairly straightforward with allocation headers, since we can just temporarily tell the GC that there's nothing to scan for a large object with a single pointer write (as opposed to trying to zero a whole bunch of bits, as we would've had to do once upon a time). Fixes #31222. Change-Id: I10d0dcfa3938c383282a3eb485a6f00070d07bd2 Reviewed-on: https://go-review.googlesource.com/c/go/+/577495 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'test/fixedbugs/bug385_64.go')
0 files changed, 0 insertions, 0 deletions