You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/compile: write barrier code is sometimes preemptible when compiled with -N [1.21 backport] #61958
@randall77 Is there a corresponding upstream issue (i.e., for Go1.22 milestone) for this backport request? Does this apply to Go 1.20 too, or only Go 1.21?
As soon as an interested party thinks an issue should be considered for backport, they open one or two “child” issues titled like package: title [1.17 backport]. The issue should include a link to the original issue and a short rationale about why the backport might be needed.
changed the title [-]cmd/compile: write barrier code is sometimes preemptible when compiled with -N[/-][+]cmd/compile: write barrier code is sometimes preemptible when compiled with -N [1.21 backport][/+]on Aug 16, 2023
This applies only to 1.21, 1.20 does not have the bug in question.
There's no upstream (1.22) issue, but there are CLs (518055 and 518539). They aren't easily backportable as is because the code has changed in the meantime.
CL 518755 is a simpler, safer backport for just the version of the bug that manifests in 1.21.
Activity
gopherbot commentedon Aug 11, 2023
Change https://go.dev/cl/518755 mentions this issue:
[release-branch.go1.21] cmd/compile: ensure empty blocks in write barriers are marked unpreemptibledmitshur commentedon Aug 16, 2023
@randall77 Is there a corresponding upstream issue (i.e., for Go1.22 milestone) for this backport request? Does this apply to Go 1.20 too, or only Go 1.21?
Per https://go.dev/wiki/MinorReleases:
[-]cmd/compile: write barrier code is sometimes preemptible when compiled with -N[/-][+]cmd/compile: write barrier code is sometimes preemptible when compiled with -N [1.21 backport][/+]randall77 commentedon Aug 16, 2023
This applies only to 1.21, 1.20 does not have the bug in question.
There's no upstream (1.22) issue, but there are CLs (518055 and 518539). They aren't easily backportable as is because the code has changed in the meantime.
CL 518755 is a simpler, safer backport for just the version of the bug that manifests in 1.21.
[release-branch.go1.21] cmd/compile: ensure empty blocks in write bar…
gopherbot commentedon Aug 17, 2023
Closed by merging 25ec110 to release-branch.go1.21.