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
<rdar://problem/105690164>
Pull request: https://github.com/WebKit/WebKit/pull/10378
Committed 260573@main (80ea8d22d124): <https://commits.webkit.org/260573@main> Reviewed commits have been landed. Closing PR #10378 and removing active labels.