Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 80ea8d22d12403cd536dafa256f4d32c0a23e313
https://github.com/WebKit/WebKit/commit/80ea8d22d12403cd536dafa256f4d32c0a23e313
Author: David Kilzer <[email protected]>
Date: 2023-02-20 (Mon, 20 Feb 2023)
Changed paths:
M Source/bmalloc/bmalloc/ProcessCheck.mm
Log Message:
-----------
[bmalloc] Use an autoreleasepool in gigacageEnabledForProcess() and
shouldProcessUnconditionallyUseBmalloc()
https://bugs.webkit.org/show_bug.cgi?id=252595
<rdar://105690164>
Reviewed by Yusuke Suzuki.
Add @autoreleasepool { } blocks to capture autoreleased objects
and clear them before the method returns. This prevents them
from sitting in the main thread's autoreleasePool until it is
drained.
* Source/bmalloc/bmalloc/ProcessCheck.mm:
(bmalloc::gigacageEnabledForProcess):
(bmalloc::shouldProcessUnconditionallyUseBmalloc):
Canonical link: https://commits.webkit.org/260573@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes