Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fixed-size deadCells vector in MarkedBlock::sweep
https://bugs.webkit.org/show_bug.cgi?id=254960 rdar://107585451 Reviewed by Justin Michaud and Yusuke Suzuki. Allocates the deadCells vector in MarkedBlock::specializedSweep entirely on the stack, and stores atom numbers using uint16_t instead of uint64_t. Should reduce allocations and potentially improve locality. * Source/JavaScriptCore/heap/MarkedBlockInlines.h: (JSC::MarkedBlock::Handle::specializedSweep): Canonical link: https://commits.webkit.org/262612@main
- Loading branch information
Showing
2 changed files
with
52 additions
and
33 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