Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 838b709f481abe509f73962a5fe53b8179f47ede
https://github.com/WebKit/WebKit/commit/838b709f481abe509f73962a5fe53b8179f47ede
Author: Andrew Fryer <[email protected]>
Date: 2025-07-09 (Wed, 09 Jul 2025)
Changed paths:
M Source/JavaScriptCore/heap/Heap.cpp
Log Message:
-----------
Fix maxHeapSize update after Full Opportunistic GC
https://bugs.webkit.org/show_bug.cgi?id=295560
rdar://155270113
Reviewed by Yusuke Suzuki.
Before this change, we would not update m_maxHeapSize after Full Opportunistic
GC,
but we would update m_maxEdenSize, resulting in very small or large
m_maxEdenSize
in some cases, which can churn GC or cause Eden GCs to grow the heap too much.
Change this to update m_maxEdenSize normally, but allow eden to become larger
than
m_maxEdenSize up to m_maxHeapSize if the last Full GC was Opportunistic.
* Source/JavaScriptCore/heap/Heap.cpp:
(JSC::Heap::updateAllocationLimits):
(JSC::Heap::collectIfNecessaryOrDefer):
Canonical link: https://commits.webkit.org/297175@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes