commit | 1e47404bb77ae6b6e0427e929f60e36c417545e3 | [log] [tgz] |
---|---|---|
author | Dominik Inführ <dinfuehr@chromium.org> | Wed Dec 14 18:05:57 2022 |
committer | V8 LUCI CQ <v8-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 14 22:19:32 2022 |
tree | efb9f15c41d7b885cd44e94117bc9da87a583a49 | |
parent | 96bc59aec0f7dc005f1818f5bf85ec87d8bbb927 [diff] |
[heap] Fix uninitialized field in DescriptorArray write barrier marking_barrier_type_ wasn't initialized in MarkingBarrier's ctor. With --shared-space and enabling incremental marking in the shared heap this could lead to the load of an uninitialized value in `is_minor` in the DescriptorArray write barrier. The write barrier was also not using the right value for old_marked when both minor and shared incremental marking were enabled. Bug: v8:13267, chromium:1400730 Change-Id: Ibd682b9baba333ce16af028e4f66aefb6c8aaea7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4108028 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/main@{#84855}
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.