[webkit-changes] [WebKit/WebKit] b28dc3: [JSC] Do not use Vector as intermediate transfer b...

Commit Queue noreply at github.com
Wed May 10 19:13:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b28dc389e0f6e240627c1a6839a1d8499346db9f
      https://github.com/WebKit/WebKit/commit/b28dc389e0f6e240627c1a6839a1d8499346db9f
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2023-05-10 (Wed, 10 May 2023)

  Changed paths:
    A JSTests/stress/typed-array-set.js
    M Source/JavaScriptCore/runtime/JSGenericTypedArrayViewInlines.h
    M Source/WTF/wtf/Vector.h

  Log Message:
  -----------
  [JSC] Do not use Vector as intermediate transfer buffer for typed array
https://bugs.webkit.org/show_bug.cgi?id=256616
rdar://109103861

Reviewed by Yusuke Suzuki and Justin Michaud.

Since TypedArray can handle 4GB size, we should not use WTF::Vector
as a intermediate transfer buffer for TypedArray.

* JSTests/stress/typed-array-set.js: Added.
* Source/JavaScriptCore/runtime/JSGenericTypedArrayViewInlines.h:
(JSC::JSGenericTypedArrayView<Adaptor>::setWithSpecificType):

Canonical link: https://commits.webkit.org/263942@main




More information about the webkit-changes mailing list