Commit 487c595
[vm] Handle non-Smi lengths during heap snapshot writing.
This applies to List/Map/Set, which have logical lengths that are initialized by Dart constructors. It does not apply to Array/String/TypedData, which have physical lengths that must always be initialized before the next safepoint.
TEST=ci
Bug: #55689
Change-Id: If132405249e4e49920b0f4f63f85ebeb49e23671
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/400020
Reviewed-by: Alexander Aprelev <[email protected]>
Commit-Queue: Ryan Macnak <[email protected]>1 parent 2d7bb5d commit 487c595
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1120 | 1120 | | |
1121 | 1121 | | |
1122 | 1122 | | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1123 | 1130 | | |
1124 | 1131 | | |
1125 | 1132 | | |
| |||
1171 | 1178 | | |
1172 | 1179 | | |
1173 | 1180 | | |
1174 | | - | |
| 1181 | + | |
1175 | 1182 | | |
1176 | 1183 | | |
1177 | 1184 | | |
1178 | 1185 | | |
1179 | | - | |
| 1186 | + | |
1180 | 1187 | | |
1181 | 1188 | | |
1182 | 1189 | | |
1183 | | - | |
| 1190 | + | |
1184 | 1191 | | |
1185 | 1192 | | |
1186 | 1193 | | |
| |||
0 commit comments