WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
111897
Directly plant statically identifiable global resolves
https://bugs.webkit.org/show_bug.cgi?id=111897
Summary
Directly plant statically identifiable global resolves
Oliver Hunt
Reported
2013-03-08 16:14:40 PST
Directly plant statically identifiable global resolves
Attachments
Patch
(38.06 KB, patch)
2013-03-08 16:20 PST
,
Oliver Hunt
no flags
Details
Formatted Diff
Diff
Patch
(37.29 KB, patch)
2013-03-08 16:31 PST
,
Oliver Hunt
oliver
: review-
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Oliver Hunt
Comment 1
2013-03-08 16:20:10 PST
Created
attachment 192302
[details]
Patch
Filip Pizlo
Comment 2
2013-03-08 16:24:22 PST
Comment on
attachment 192302
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=192302&action=review
> Source/JavaScriptCore/bytecode/CodeBlock.cpp:1855 > + typedef HashMap<RefPtr<StringImpl>, ResolveOperation*, IdentifierRepHash> GlobalResolveMap; > + GlobalResolveMap globalResolves;
Can we make it per bytecode so it's nicer to profiler?
> Source/JavaScriptCore/bytecode/CodeBlock.cpp:1988 > + if (!entry.isNull()) { > + instructions[i + 0] = globalData()->interpreter->getOpcode(op_get_global_var); > + instructions[i + 3] = &globalObject->registerAt(entry.getIndex());
I can has early break?
Oliver Hunt
Comment 3
2013-03-08 16:31:06 PST
Created
attachment 192305
[details]
Patch
Build Bot
Comment 4
2013-03-11 00:15:18 PDT
Comment on
attachment 192305
[details]
Patch
Attachment 192305
[details]
did not pass mac-ews (mac): Output:
http://webkit-commit-queue.appspot.com/results/17132034
New failing tests: fast/regions/named-flow-content-order-2.html css3/filters/custom/custom-filter-u-tile-size.html css3/filters/custom/custom-filter-array.html css3/filters/custom/custom-filter-u-texture-size.html svg/custom/textPath-insert-path-pattern.svg css3/filters/custom/custom-filter-u-mesh-box.html fast/regions/autoheight-dynamic-update.html fast/regions/listmarker-inside-flowthread.html fast/js/eval-cache-crash.html css3/filters/custom/custom-filter-u-mesh-size.html fast/js/global-resolve-through-eval.html
Oliver Hunt
Comment 5
2013-03-11 00:23:20 PDT
Comment on
attachment 192305
[details]
Patch Causing bizarro crashes, i believe i know the underlying cause but need to verify
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