Bug 287522
Summary: | Setting __XPC_JSC_forceRAMSize silently fails due to bad cast | ||
---|---|---|---|
Product: | WebKit | Reporter: | Andrew Fryer <a_fryer> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Andrew Fryer
Setting `export __XPC_JSC_forceRAMSize=17179869184; # 16 GB` silently fails due to a bad cast (didn't affect `m_ramSize` in `Source/JavaScriptCore/heap/Heap.cpp`).
The fix is to change the type of `forceRAMSize` to `Size` (rather than `Unsized`).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Andrew Fryer
<rdar://problem/144649062>
Andrew Fryer
Pull request: https://github.com/WebKit/WebKit/pull/40443
EWS
Committed 290297@main (d97ba4719dc6): <https://commits.webkit.org/290297@main>
Reviewed commits have been landed. Closing PR #40443 and removing active labels.