commit | b9bc81d6cfa17272001aa54cff1778fc05395831 | [log] [tgz] |
---|---|---|
author | Ben L. Titzer <titzer@chromium.org> | Tue Jun 18 16:40:42 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 18 17:19:19 2019 |
tree | 29d3f61d45a881a42d13b89888f654eff05efd9c | |
parent | 4e17a6beb47a5d15a220572b073a279752de2adb [diff] |
[typed-arrays] Introduce JSTypedArray::kMaxSizeInHeap constant Extract the maximum on-heap typed array size to a constant in the JSTypedArray class. Add tests for allocating typed arrays of various sizes and validate through the API whether they are allocated on heap. It is not possible to observe from JavaScript. R=mstarzinger@chromium.org Change-Id: I1298e0a49010de829edaad32b7d6c6c9c52704fb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1662572 Commit-Queue: Ben Titzer <titzer@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#62257}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://v8.dev/docs
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned at v8.dev/docs/contribute.