Commit 33a3d37
[GC] Increase heap max_global_memory_size
Under external_memory_accounted_in_global_limit, external memory
counts towards GlobalConsumedBytes(), which makes it more
likely to reach max_global_memory_size.
When this happens, allocation limits don't make a lot of sense,
so this pushes back max_global_memory_size by a factor of 4,
capped by `physical_memory`.
Meanwhile, I'm also making another check more strict which
will lead to an OOM if we still reach max_global_memory_size
https://chromium-review.googlesource.com/c/v8/v8/+/6931616
Bug: 361124432
Change-Id: I3f3f940249da0579b86c2c2286e090bf09c0021a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6931611
Reviewed-by: Michael Lippautz <[email protected]>
Commit-Queue: Etienne Pierre-Doray <[email protected]>
Cr-Commit-Position: refs/heads/main@{#102367}1 parent 75e7e87 commit 33a3d37
2 files changed
+19
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1479 | 1479 | | |
1480 | 1480 | | |
1481 | 1481 | | |
1482 | | - | |
1483 | | - | |
| 1482 | + | |
| 1483 | + | |
1484 | 1484 | | |
1485 | 1485 | | |
1486 | | - | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
1487 | 1491 | | |
1488 | 1492 | | |
1489 | 1493 | | |
| |||
1673 | 1677 | | |
1674 | 1678 | | |
1675 | 1679 | | |
1676 | | - | |
| 1680 | + | |
| 1681 | + | |
1677 | 1682 | | |
1678 | 1683 | | |
1679 | 1684 | | |
| |||
2584 | 2589 | | |
2585 | 2590 | | |
2586 | 2591 | | |
2587 | | - | |
2588 | | - | |
2589 | 2592 | | |
2590 | 2593 | | |
2591 | 2594 | | |
| |||
2632 | 2635 | | |
2633 | 2636 | | |
2634 | 2637 | | |
2635 | | - | |
2636 | | - | |
2637 | 2638 | | |
2638 | 2639 | | |
2639 | 2640 | | |
| |||
4354 | 4355 | | |
4355 | 4356 | | |
4356 | 4357 | | |
4357 | | - | |
4358 | | - | |
| 4358 | + | |
| 4359 | + | |
| 4360 | + | |
| 4361 | + | |
4359 | 4362 | | |
4360 | 4363 | | |
4361 | 4364 | | |
| |||
5171 | 5174 | | |
5172 | 5175 | | |
5173 | 5176 | | |
5174 | | - | |
| 5177 | + | |
| 5178 | + | |
5175 | 5179 | | |
5176 | 5180 | | |
5177 | 5181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
714 | | - | |
| 714 | + | |
| 715 | + | |
715 | 716 | | |
716 | 717 | | |
717 | 718 | | |
| |||
2019 | 2020 | | |
2020 | 2021 | | |
2021 | 2022 | | |
2022 | | - | |
| 2023 | + | |
| 2024 | + | |
2023 | 2025 | | |
2024 | 2026 | | |
2025 | 2027 | | |
| |||
0 commit comments