Commit bc9b3b6
authored
Fix EH stacktrace keepalive array copy size (#104912)
When the stacktrace keepalive array is grown, we were incorrectly
copying extra item from the original keepalive array to the new one. In
some cases, it ended up adding garbage to the array and GC object
verification has hickuped on it. In the CI, it was only hit by
GCStress-Extra tests that set DOTNET_HeapVerify=1 so far.
This fixes the copied size to be the source array's number of elements.
Close #1048781 parent 31733b9 commit bc9b3b6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2975 | 2975 | | |
2976 | 2976 | | |
2977 | 2977 | | |
2978 | | - | |
| 2978 | + | |
2979 | 2979 | | |
2980 | 2980 | | |
2981 | 2981 | | |
| |||
0 commit comments