commit | 01b684cf6869f52ff37b2a5d584314e07f7028a2 | [log] [tgz] |
---|---|---|
author | rmcilroy <rmcilroy@chromium.org> | Tue Jan 17 10:14:02 2017 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jan 17 10:14:02 2017 |
tree | d1d4b93e3e202c95961925e017d16ace76ebb743 | |
parent | dd9cf43ef2fec61a04ba5c9c1030fb307077fc75 [diff] |
[modules] Fix NewJSModuleNamespace to avoid GC being able to see incomplete JSModuleNamespace. A GC could happen when creating the Module string, which would cause the JSModuleNamespace to be seen in an incomplete state. Instead make this string a root object so that we don't need to allocate it during NewJSModuleNamespace construction. BUG=v8:1569 Review-Url: https://codereview.chromium.org/2631223002 Cr-Commit-Position: refs/heads/master@{#42393}
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.