Repository navigation
src,build: configure V8_EMBEDDER_DATA_ARRAY_SIZE - #67755
Open
legendecas wants to merge 3 commits into
Open
legendecas wants to merge 3 commits into
legendecas wants to merge 3 commits into
Conversation
Refs: https://issues.chromium.org/issues/570436596 Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
Collaborator
|
Review requested:
|
V8 16.0 removes Context::SetAlignedPointerInEmbedderData(). Refs: https://crrev.com/c/8687878 Co-Authored-By: Chengzhong Wu <cwu631@bloomberg.net> Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com> Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
V8 16.0 removes Context::SetEmbedderData() and Context::SetEmbedderDataV2(). Refs: https://crrev.com/c/8687878 Co-Authored-By: Chengzhong Wu <cwu631@bloomberg.net> Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com> Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
legendecas
force-pushed
the
v8-embedder-data-size
branch
from
November 24, 2026 16:44
48b9eac to
dee438b
Compare
addaleax
approved these changes
Nov 24, 2026
Collaborator
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #67755 +/- ##
==========================================
+ Coverage 90.52% 90.54% +0.01%
==========================================
Files 803 803
Lines 285110 285115 +5
Branches 55037 55028 -9
==========================================
+ Hits 258101 258159 +58
+ Misses 17143 17099 -44
+ Partials 9866 9857 -9
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://chromium-review.googlesource.com/c/v8/v8/+/8518784 introduces
V8_EMBEDDER_DATA_ARRAY_SIZEthat opt-in static size V8EmbedderDataArray. Starting V8 16.0, this is a mandatory layout.At the same time, the growable embedder data array V8 APIs
SetEmbedderData,SetEmbedderDataV2, andSetAlignedPointerInEmbedderDataare removed in V8 16.0.The new APIs
SetAlignedPointerInEmbedderDataV2andSetEmbedderDataV3, andV8_EMBEDDER_DATAare introduced in V8 15.8.This PR contains three commits:
src,build: configure V8_EMBEDDER_DATA_ARRAY_SIZE
Refs: https://issues.chromium.org/issues/570436596
src: migrate to SetAlignedPointerInEmbedderDataV2
V8 16.0 removes Context::SetAlignedPointerInEmbedderData().
Refs: https://crrev.com/c/8687878
src: migrate to SetEmbedderDataV3
V8 16.0 removes Context::SetEmbedderData() and
Context::SetEmbedderDataV2().
Refs: https://crrev.com/c/8687878