Bug 252595
| Summary: | [bmalloc] Use an autoreleasepool in gigacageEnabledForProcess() and shouldProcessUnconditionallyUseBmalloc() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | JavaScriptCore | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=221107 | ||
David Kilzer (:ddkilzer)
Use an autoreleasepool in bmalloc::gigacageEnabledForProcess() and bmalloc::shouldProcessUnconditionallyUseBmalloc().
NSBundle methods are known to create autoreleased objects within Foundation.framework, so clean them up before the function returns.
Found while investigating: Bug 221107: JavaScriptCore should build with ARC enabled
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105690164>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/10378
EWS
Committed 260573@main (80ea8d22d124): <https://commits.webkit.org/260573@main>
Reviewed commits have been landed. Closing PR #10378 and removing active labels.