Commit 43bea6b
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 <mlippautz@chromium.org>
Commit-Queue: Choongwoo Han <choongwoo.han@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#99163}
Refs: v8/v8@c172ffc
PR-URL: #57437
Fixes: #57412
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Co-Authored-By: tunamagur0
<47546832+tunamagur0@users.noreply.github.com>1 parent 91a824e commit 43bea6b
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 | |
|---|---|---|---|
| |||
6376 | 6376 | | |
6377 | 6377 | | |
6378 | 6378 | | |
6379 | | - | |
| 6379 | + | |
| 6380 | + | |
6380 | 6381 | | |
6381 | 6382 | | |
6382 | 6383 | | |
6383 | | - | |
6384 | | - | |
| 6384 | + | |
| 6385 | + | |
6385 | 6386 | | |
6386 | 6387 | | |
6387 | 6388 | | |
| |||
6399 | 6400 | | |
6400 | 6401 | | |
6401 | 6402 | | |
6402 | | - | |
| 6403 | + | |
6403 | 6404 | | |
6404 | 6405 | | |
6405 | 6406 | | |
| |||
6411 | 6412 | | |
6412 | 6413 | | |
6413 | 6414 | | |
6414 | | - | |
| 6415 | + | |
6415 | 6416 | | |
6416 | 6417 | | |
6417 | 6418 | | |
| |||
6425 | 6426 | | |
6426 | 6427 | | |
6427 | 6428 | | |
6428 | | - | |
| 6429 | + | |
6429 | 6430 | | |
6430 | 6431 | | |
6431 | 6432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1830 | 1830 | | |
1831 | 1831 | | |
1832 | 1832 | | |
| 1833 | + | |
| 1834 | + | |
1833 | 1835 | | |
1834 | 1836 | | |
1835 | 1837 | | |
| |||
0 commit comments