commit | 3cfcc7e111a32f231a483b8feda19ef2d8c45253 | [log] [tgz] |
---|---|---|
author | mvstanton <mvstanton@chromium.org> | Tue Jun 07 12:01:51 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 07 12:03:56 2016 |
tree | 28dd2e837ebc0e0a6e82f781a848844de4af3eac | |
parent | 2963b5bd40b11211c42ed7388af24cc5994c8e22 [diff] |
Avoid creating weak cells for literal arrays that are empty of literals. It may be that we have a feedback vector, but no literals. In this case we can store into the OptimizedCodeMap directly instead of using a WeakCell, because all data in the feedback vector is already held weakly. The use of a WeakCell in the OptimizedCodeMap is only required when there are literals which may hold maps strongly. This is to address a performance regression caused by the creation of a large number of WeakCells. BUG=chromium:615831 Review-Url: https://codereview.chromium.org/2031123003 Cr-Commit-Position: refs/heads/master@{#36786}
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://github.com/v8/v8/wiki
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 on the V8 wiki.