Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r241449 - Create a randomized free list for new StructureIDs on…
… StructureIDTable resize. https://bugs.webkit.org/show_bug.cgi?id=194566 <rdar://problem/47975502> Reviewed by Michael Saboff. Also isolate 32-bit implementation of StructureIDTable out more so the 64-bit implementation is a little easier to read. This patch appears to be perf neutral on JetStream2 (as run from the command line). * runtime/StructureIDTable.cpp: (JSC::StructureIDTable::StructureIDTable): (JSC::StructureIDTable::makeFreeListFromRange): (JSC::StructureIDTable::resize): (JSC::StructureIDTable::allocateID): (JSC::StructureIDTable::deallocateID): * runtime/StructureIDTable.h: (JSC::StructureIDTable::get): (JSC::StructureIDTable::deallocateID): (JSC::StructureIDTable::allocateID): (JSC::StructureIDTable::flushOldTables):
- Loading branch information
1 parent
d588079
commit 0e442cf
Showing
3 changed files
with
116 additions
and
36 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