commit | 93df094081f04c629c3df2e40318de90ce5e0fb9 | [log] [tgz] |
---|---|---|
author | mvstanton <mvstanton@chromium.org> | Wed Dec 21 14:06:29 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Dec 21 14:06:29 2016 |
tree | 703ccdf5506eeedd27b3e17e7afd2042c8f105bd | |
parent | c9cb94a06fa7a863d24dd6760b66cecd55748abf [diff] |
[TypeFeedbackVector] Root literal arrays in function literals slots Literal arrays and feedback vectors for a function can be garbage collected if we don't have a rooted closure for the function, which happens often. It's expensive to come back from this (recreating boilerplates and gathering feedback again), and the cost is disproportionate if the function was inlined into optimized code. To guard against losing these arrays when we need them, we'll now create literal arrays when creating the feedback vector for the outer closure, and root them strongly in that vector. BUG=v8:5456 Review-Url: https://codereview.chromium.org/2504153002 Cr-Commit-Position: refs/heads/master@{#41893}
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.