Bug 233959

Summary: Add DOMStructures
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: DOMAssignee: Yusuke Suzuki <ysuzuki>
Status: NEW    
Severity: Normal CC: alecflett, annulen, ashvayka, beidson, benjamin, calvaris, cdumez, ews-watchlist, gyuyoung.kim, jsbell, ryuan.choi, sam, sergio, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 233918    
Bug Blocks:    
Attachments:
Description Flags
WIP
ews-feeder: commit-queue-
WIP
ews-feeder: commit-queue-
WIP
ews-feeder: commit-queue-
WIP ews-feeder: commit-queue-

Yusuke Suzuki
Reported 2021-12-07 16:43:32 PST
We should have the same mechanism to DOMConstructors: DOMStructures array. Now, we have significantly better / faster StructureID implementation. And WriteBarrierStructureID (sizeof(WriteBarrierStructureID) is 4!) is coming. We should have std::array<WriteBarrierStructureID, numberOfStructures> instead of HashMap<ClassInfo*, WriteBarrier<Structure>>, which is faster. And maybe it is more compact (HashMap allocates roughly 4x memory usually, we do not need to have ClassInfo*, and we do not need to hold Structure*).
Attachments
WIP (132.46 KB, patch)
2022-02-23 00:31 PST, Yusuke Suzuki
ews-feeder: commit-queue-
WIP (132.95 KB, patch)
2022-02-23 01:10 PST, Yusuke Suzuki
ews-feeder: commit-queue-
WIP (132.25 KB, patch)
2022-02-23 01:37 PST, Yusuke Suzuki
ews-feeder: commit-queue-
WIP (131.76 KB, patch)
2022-02-23 01:58 PST, Yusuke Suzuki
ews-feeder: commit-queue-
Radar WebKit Bug Importer
Comment 1 2021-12-14 16:44:17 PST
Yusuke Suzuki
Comment 2 2022-02-23 00:31:36 PST
Yusuke Suzuki
Comment 3 2022-02-23 01:10:36 PST
Yusuke Suzuki
Comment 4 2022-02-23 01:37:55 PST
Yusuke Suzuki
Comment 5 2022-02-23 01:58:20 PST
Yusuke Suzuki
Comment 6 2024-03-23 18:32:15 PDT
Note You need to log in before you can comment on or make changes to this bug.