[Webkit-unassigned] [Bug 152738] New: Changing prototypes should cache the new structure.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 5 11:04:35 PST 2016


            Bug ID: 152738
           Summary: Changing prototypes should cache the new structure.
    Classification: Unclassified
           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: keith_miller at apple.com

Currently, when a programmer changes the prototype of their object we allocate a new structure every time even if they use the same prototype every time. Not only does this use linear additional memory if they do it to every object they allocate but it also perniciously causes all the code these objects touch to become megamorphic.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160105/9f750d93/attachment-0001.html>

More information about the webkit-unassigned mailing list