[Webkit-unassigned] [Bug 186193] New: [JSC] NewArrayBuffer should have non-CoW mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 1 06:33:10 PDT 2018


            Bug ID: 186193
           Summary: [JSC] NewArrayBuffer should have non-CoW mode
           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: utatane.tea at gmail.com

In some program, array created by new_array_buffer is not immutable (I think Kraken/crypto-aes and SixSpeed spread-literal.es5 are).
But ArrayifyToStructure's array copying is really slow compared to non CoW array creation in NewArrayBuffer.
I think we should have non-CoW mode for NewArrayBuffer / new_array_buffer. ArrayAllocationProfile should carefully profile the use of resulted array, and tell us whether using CoW mode is profitable.

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/20180601/1f536217/attachment-0003.html>

More information about the webkit-unassigned mailing list