WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 64147
DFG JIT does not implement prototype chain or list caching for get_by_id
https://bugs.webkit.org/show_bug.cgi?id=64147
Summary
DFG JIT does not implement prototype chain or list caching for get_by_id
Filip Pizlo
Reported
2011-07-07 22:09:54 PDT
The JSC JIT supports caching of prototype lists (if a get_by_id access may hit one of several prototypes) and chains (if a get_by_id access may hit a prototype at any depth in the prototype chain), as well as prototype chain lists (if a get_by_id access may hit one of several prototypes at varying depths in the prototype chain). The DFG JIT supports prototype caching only, but should support prototype lists, chains, and chain lists to ensure good performance.
Attachments
the patch
(24.53 KB, patch)
2011-07-07 22:22 PDT
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
the patch (fix style)
(24.53 KB, patch)
2011-07-07 23:29 PDT
,
Filip Pizlo
barraclough
: review-
barraclough
: commit-queue-
Details
Formatted Diff
Diff
the patch
(21.74 KB, patch)
2011-07-13 11:29 PDT
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2011-07-07 22:22:21 PDT
Created
attachment 100071
[details]
the patch
WebKit Review Bot
Comment 2
2011-07-07 22:25:45 PDT
Attachment 100071
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/dfg/DFGRepatch.cpp:400: One line control clauses should not use braces. [whitespace/braces] [4] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 3
2011-07-07 23:29:14 PDT
Created
attachment 100079
[details]
the patch (fix style)
Gavin Barraclough
Comment 4
2011-07-08 01:54:22 PDT
Comment on
attachment 100079
[details]
the patch (fix style) View in context:
https://bugs.webkit.org/attachment.cgi?id=100079&action=review
Sorry, just one minor style nit.
> Source/JavaScriptCore/dfg/DFGRepatch.cpp:225 > + return false;
Please lose the { } here.
Filip Pizlo
Comment 5
2011-07-08 02:00:34 PDT
(In reply to
comment #4
)
> (From update of
attachment 100079
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=100079&action=review
> > Sorry, just one minor style nit. > > > Source/JavaScriptCore/dfg/DFGRepatch.cpp:225 > > + return false; > > Please lose the { } here.
Ah, right. Thanks for catching that. Will fix that.
Filip Pizlo
Comment 6
2011-07-13 11:29:19 PDT
Created
attachment 100692
[details]
the patch This patch subsumes
https://bugs.webkit.org/show_bug.cgi?id=64077
, in that the implementation of prototype chain and list caching involved redoing prototype caching. I did it this way to make prototype caching, prototype chain caching, prototype list caching, and prototype list chain caching.
WebKit Review Bot
Comment 7
2011-07-13 14:44:57 PDT
Comment on
attachment 100692
[details]
the patch Clearing flags on attachment: 100692 Committed
r90950
: <
http://trac.webkit.org/changeset/90950
>
WebKit Review Bot
Comment 8
2011-07-13 14:45:01 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug