Commit 1568065
deps: V8: cherry-pick c172ffc5bf54
Original commit message:
Compact retained maps array more often
When we add maps to the retained maps array, we compacted the array if
it's full. But, since we are now adding maps in a batch, it's unlikely
to meet the condition. Thus, update the condition to check whether new
size exceeds the capacity.
Bug: 398528460
Change-Id: I89caa47b69532c6397596edfe5caf7c7d24768cc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6330019
Reviewed-by: Michael Lippautz <[email protected]>
Commit-Queue: Choongwoo Han <[email protected]>
Cr-Commit-Position: refs/heads/main@{#99163}
Refs: v8/v8@c172ffc
PR-URL: nodejs#57437
Fixes: nodejs#57412
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Co-Authored-By: tunamagur0
<[email protected]>1 parent 466cd25 commit 1568065
3 files changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6270 | 6270 | | |
6271 | 6271 | | |
6272 | 6272 | | |
6273 | | - | |
| 6273 | + | |
| 6274 | + | |
6274 | 6275 | | |
6275 | 6276 | | |
6276 | 6277 | | |
6277 | | - | |
6278 | | - | |
| 6278 | + | |
| 6279 | + | |
6279 | 6280 | | |
6280 | 6281 | | |
6281 | 6282 | | |
| |||
6293 | 6294 | | |
6294 | 6295 | | |
6295 | 6296 | | |
6296 | | - | |
| 6297 | + | |
6297 | 6298 | | |
6298 | 6299 | | |
6299 | 6300 | | |
| |||
6305 | 6306 | | |
6306 | 6307 | | |
6307 | 6308 | | |
6308 | | - | |
| 6309 | + | |
6309 | 6310 | | |
6310 | 6311 | | |
6311 | 6312 | | |
| |||
6319 | 6320 | | |
6320 | 6321 | | |
6321 | 6322 | | |
6322 | | - | |
| 6323 | + | |
6323 | 6324 | | |
6324 | 6325 | | |
6325 | 6326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1802 | 1802 | | |
1803 | 1803 | | |
1804 | 1804 | | |
| 1805 | + | |
| 1806 | + | |
1805 | 1807 | | |
1806 | 1808 | | |
1807 | 1809 | | |
| |||
0 commit comments