Summary: | Cache property transitions to speed up object initialization | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Maciej Stachowiak <mjs> | ||||||
Component: | JavaScriptCore | Assignee: | Oliver Hunt <oliver> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.5 | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 20813 | ||||||||
Attachments: |
|
Description
Maciej Stachowiak
2008-09-12 18:07:38 PDT
Created attachment 23389 [details]
patch mostly by oliver with some bug fixes by me (needs ChangeLog, cleanup)
Created attachment 23406 [details]
Fully implemented transition cache, now with a bonus feature: correctness
Comment on attachment 23406 [details]
Fully implemented transition cache, now with a bonus feature: correctness
Removing review flag, this apparently breaks gmail :-(
Comment on attachment 23406 [details]
Fully implemented transition cache, now with a bonus feature: correctness
Cameron lied to me, it works fine!
Comment on attachment 23406 [details]
Fully implemented transition cache, now with a bonus feature: correctness
I think "failuresCases" would probably be better as "failureCases".
You have some extra blank lines, like CTI.cpp:1900 and Machine.cpp:2474.
Perhaps sIDC would be better as structureIDChain or chain? What do you think?
Other than that, r=me.
M JavaScriptCore/ChangeLog M JavaScriptCore/VM/CTI.cpp M JavaScriptCore/VM/CTI.h M JavaScriptCore/VM/CodeBlock.cpp M JavaScriptCore/VM/CodeGenerator.cpp M JavaScriptCore/VM/Machine.cpp M JavaScriptCore/VM/Machine.h M JavaScriptCore/VM/Opcode.h M JavaScriptCore/kjs/JSObject.h M JavaScriptCore/kjs/PutPropertySlot.h M JavaScriptCore/kjs/StructureID.cpp M JavaScriptCore/kjs/StructureID.h M JavaScriptCore/masm/X86Assembler.h Committed r36401 |