[Webkit-unassigned] [Bug 195901] New: [JSC] Generator should not create JSLexicalEnvironment if it is not necessary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 18 11:58:38 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=195901

            Bug ID: 195901
           Summary: [JSC] Generator should not create JSLexicalEnvironment
                    if it is not necessary
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ysuzuki at apple.com

When looking into the cells allocated in JetStream2 Basic, I found that so many empty JSLexicalEnvironments are allocated.
I think this is because the current implementation of ES6 Generators always allocates JSLexicalEnvironments for their suspend and resume.
However it seems that fair amount of generators do not load and store registers, and we are allocating empty JSLexicalEnvironments.
Currently, still I'm investigating, but if it is true, we should emit op_create_lexical_environment only when the generatorification says it is required.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190318/f8a2cb05/attachment.html>


More information about the webkit-unassigned mailing list