Bug 271986
| Summary: | Add Options::maxHeapSizeAsRAMSizeMultiple() to limit max memory usage for testing. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
| Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mark Lam
...
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/125733077>
Mark Lam
Currently, we're only applying this max check to CompleteSubspace::tryAllocateSlow.
We found that adding it to LocalAllocator::allocateSlowCase can cause crashes due to failed Structure allocations (which are fatal). As a result, the testing disruption from those crashes far outweigh any benefits we currently get from it. So, we'll leave the max check out of LocalAllocator::allocateSlowCase for now.
Mark Lam
Pull request: https://github.com/WebKit/WebKit/pull/26691
EWS
Committed 276909@main (b682c5819552): <https://commits.webkit.org/276909@main>
Reviewed commits have been landed. Closing PR #26691 and removing active labels.