commit | a120dd0d382313e02855d1f86689527461c87e86 | [log] [tgz] |
---|---|---|
author | Michael Lippautz <mlippautz@chromium.org> | Wed Jan 15 14:39:34 2025 |
committer | V8 LUCI CQ <v8-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 16 08:01:23 2025 |
tree | 80346d230d5ad8917fc03cf4626ba094421f1ac6 | |
parent | 0e71d73e73be7aeb31d5222f1b567b4113be9fdc [diff] |
[heap] Make it clear that mementos are only created for young objects Mementos should only be created for young allocations. Callers seem to only pass allocation sites for young allocations right now but there's no safety net. This CL just branches the memento creation on the allocation type, implementing the disired semantics independent from what the callers pass along. Change-Id: I54bea5fe7a407065c18df679a7c47f1a4aaeb493 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6175350 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/main@{#98144}
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.