[webkit-changes] [WebKit/WebKit] a6bd28: [JSC] Fix a bug not calling didAllocate for Precis...
Yusuke Suzuki
noreply at github.com
Fri Feb 28 14:46:01 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a6bd280ee5349f360af50fbe3601c110b381ca82
https://github.com/WebKit/WebKit/commit/a6bd280ee5349f360af50fbe3601c110b381ca82
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2025-02-28 (Fri, 28 Feb 2025)
Changed paths:
M Source/JavaScriptCore/heap/CompleteSubspace.cpp
M Source/JavaScriptCore/heap/IsoSubspace.cpp
M Source/JavaScriptCore/heap/MarkedSpace.cpp
M Source/JavaScriptCore/heap/MarkedSpace.h
M Source/JavaScriptCore/heap/PreciseSubspace.cpp
Log Message:
-----------
[JSC] Fix a bug not calling didAllocate for PreciseAllocation (from 290699 at main)
https://bugs.webkit.org/show_bug.cgi?id=288854
rdar://145872082
Reviewed by Yijia Huang.
290699 at main accidentally removed didAllocate call for PreciseAllocation.
This patch fixes it. Also we use non default parameter to make
isNewAllocation parameter more explicit from the caller side.
* Source/JavaScriptCore/heap/CompleteSubspace.cpp:
(JSC::CompleteSubspace::tryAllocateSlow):
* Source/JavaScriptCore/heap/IsoSubspace.cpp:
(JSC::IsoSubspace::tryAllocateLowerTierPrecise):
* Source/JavaScriptCore/heap/MarkedSpace.cpp:
(JSC::MarkedSpace::registerPreciseAllocation):
* Source/JavaScriptCore/heap/MarkedSpace.h:
* Source/JavaScriptCore/heap/PreciseSubspace.cpp:
(JSC::PreciseSubspace::tryAllocate):
Canonical link: https://commits.webkit.org/291381@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list