Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JSC] Adjust ArrayBuffer size tracking only when full GC happens
https://bugs.webkit.org/show_bug.cgi?id=242630 rdar://problem/96850434 Reviewed by Mark Lam. This patch fixes it so that we adjust ArrayBuffer size tracking only when full GC happens. This is because right now our GC expects that Eden GC only collects newly allocated Eden memory. And it is not expecting that we can reduce extra-memory. We can enhance it in the future, but for now, only adjust it at full GC time * Source/JavaScriptCore/heap/GCIncomingRefCountedSet.h: * Source/JavaScriptCore/heap/GCIncomingRefCountedSetInlines.h: (JSC::GCIncomingRefCountedSet<T>::sweep): * Source/JavaScriptCore/heap/Heap.cpp: (JSC::Heap::sweepArrayBuffers): Canonical link: https://commits.webkit.org/252368@main
- Loading branch information
1 parent
d5d5622
commit 8136ad12111fb4e589c0aa38201f1f30601f7e15
Showing
3 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters