WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
127253
JSC Parser: Shrink BindingNode.
https://bugs.webkit.org/show_bug.cgi?id=127253
Summary
JSC Parser: Shrink BindingNode.
Andreas Kling
Reported
2014-01-19 10:59:10 PST
JSC Parser: Shrink BindingNode.
Attachments
Patch
(7.41 KB, patch)
2014-01-19 10:59 PST
,
Andreas Kling
ggaren
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2014-01-19 10:59:44 PST
Created
attachment 221590
[details]
Patch
Geoffrey Garen
Comment 2
2014-01-19 11:29:03 PST
Comment on
attachment 221590
[details]
Patch r=me
Geoffrey Garen
Comment 3
2014-01-19 11:29:24 PST
I'm surprised that this matters, since the parse tree is a temporary data structure.
Andreas Kling
Comment 4
2014-01-19 11:30:37 PST
(In reply to
comment #3
)
> I'm surprised that this matters, since the parse tree is a temporary data structure.
These hang off of the VM's CodeCache.
Geoffrey Garen
Comment 5
2014-01-19 11:31:51 PST
Are you sure? The code cache stores an UnlinkedCodeBlock, which contains bytecode, not AST.
Andreas Kling
Comment 6
2014-01-19 11:39:03 PST
Hurgh, right you are! Something is keeping these objects alive though. Maybe we have a bug. :O
Geoffrey Garen
Comment 7
2014-01-19 11:44:59 PST
Maybe a leak?
Andreas Kling
Comment 8
2014-01-19 12:05:05 PST
Looks like these hang off of UnlinkedCodeBlock. UnlinkedFunctionExecutable has a FunctionParameters which contains a bunch of DeconstructionPatternNodes originating in the parser.
Geoffrey Garen
Comment 9
2014-01-19 13:17:59 PST
I see. We should be able to refactor and remove those. Can you send a bug to Oliver?
Oliver Hunt
Comment 10
2014-01-19 21:09:02 PST
(In reply to
comment #9
)
> I see. We should be able to refactor and remove those. Can you send a bug to Oliver?
Hurk - yeah that's not ideal currently, it's deliberately held but i think reparsing of the arg list is probably the best approach.
Andreas Kling
Comment 11
2014-01-20 17:06:07 PST
Committed
r162393
: <
http://trac.webkit.org/changeset/162393
>
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