| Summary: | ASSERTION FAILED in ../../Source/JavaScriptCore/heap/CompleteSubspace.cpp | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | anbu1024.me |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | fpizlo, mark.lam, webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
anbu1024.me
2021-06-23 05:11:03 PDT
The test is deliberately allocating a large amount of memory, and then recursing infinitely, with each recurse repeating the same large memory allocation. This is just a simple out of memory exhaustion. Nothing to see here. Looks like it is possible to convert the memory allocation into a try allocation and fail with an OOME. However, this code path is hot for performance. Changing this to use try allocation may introduce perf regressions. Hence, it may not be worth changing this just for the sake of throwing an OOME for this pathological code that does not manifest in real world usage. |