- Notifications
You must be signed in to change notification settings - Fork18.4k
Commit03290b5
committed
[release-branch.go1.1] runtime: fix GC scanning of slices
««« CL9372044 / 1abed5873071runtime: fix GC scanning of slicesIf a slice points to an array embedded in a struct,the whole struct can be incorrectly scanned as the slice buffer.Fixes#5443.R=cshapiro, iant, r, cshapiro, minux.maCC=bradfitz, gobot, golang-devhttps://golang.org/cl/9372044»»»R=cshapiro, iantCC=golang-devhttps://golang.org/cl/100270431 parent5f1cf34 commit03290b5
2 files changed
+29
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
799 | 799 |
| |
800 | 800 |
| |
801 | 801 |
| |
802 |
| - | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
803 | 807 |
| |
804 | 808 |
| |
805 | 809 |
| |
|
0 commit comments
Comments
(0)