commit | ba7b25e50f2e1845d5054472c335ef355d56a4b2 | [log] [tgz] |
---|---|---|
author | Toon Verwaest <verwaest@chromium.org> | Thu May 16 11:56:43 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 16 14:37:36 2019 |
tree | 98c750982c2e51a9b2a3d245188acbc94b3bbfbd | |
parent | 3c2103bd8bce655211bcc807148d26a31facfbc1 [diff] |
[json] Fold allocation of mutable heap numbers Instead of allocating a fixed array in which we write individually allocate mutable heap numbers, we can allocate a byte array large enough to cover all heap numbers. That avoids expensive allocation calls, write barriers, and temporary memory O(number of heap numbers) (we'll just have 1 byte empty byte array as overhead). Change-Id: I4ffe16dd91e97a2e8cd8e36ff5af37375599276b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1613993 Auto-Submit: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#61581}
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.