Commit 0ad448f
fix: disable cppgc caged heap for HermitOS
On x64, cppgc_enable_caged_heap defaults to true, which enables
CPPGC_POINTER_COMPRESSION and requires a 48 GB virtual memory
reservation (2×16 GB + 16 GB alignment). HermitOS has no demand
paging, so this reservation cannot be satisfied — V8 either OOMs
or corrupts memory when the allocation is capped.
Disable the caged heap for Hermit so V8 uses regular allocations
for Oilpan objects instead.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent ce8c540 commit 0ad448f
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
456 | 460 | | |
457 | 461 | | |
458 | 462 | | |
| |||
0 commit comments