Skip to content

[v8] Propagate v8_cppgc_microtask_queue flag to common.gypi#259

Merged
victorgomes merged 1 commit into
v8:node-ci-2026-06-16from
isheludko:2026-06-30_fix_mq_cppgc
Jun 30, 2026
Merged

[v8] Propagate v8_cppgc_microtask_queue flag to common.gypi#259
victorgomes merged 1 commit into
v8:node-ci-2026-06-16from
isheludko:2026-06-30_fix_mq_cppgc

Conversation

@isheludko

@isheludko isheludko commented Jun 30, 2026

Copy link
Copy Markdown

v8_cppgc_microtask_queue affects the public ABI of v8::MicrotaskQueue. When enabled, it alters the class hierarchy (inheriting from cppgc::GarbageCollected) and changes the return type of MicrotaskQueue::New().

This flag must be propagated to GYP to ensure that native addons built via node-gyp are compiled with the identical V8 memory layout and method signatures as the Node.js executable, preventing silent ABI breakages and segfaults.

v8_cppgc_microtask_queue affects the public ABI of v8::MicrotaskQueue.
When enabled, it alters the class hierarchy (inheriting from cppgc::GarbageCollected)
and changes the return type of MicrotaskQueue::New().

This flag must be propagated to GYP to ensure that native addons built via
node-gyp are compiled with the identical V8 memory layout and method signatures
as the Node.js executable, preventing silent ABI breakages and segfaults.

TAG=agy
CONV=21b9994c-2327-48b5-b81f-aa460e16a410
@isheludko isheludko requested a review from victorgomes June 30, 2026 13:38
@victorgomes victorgomes merged commit cb6ab81 into v8:node-ci-2026-06-16 Jun 30, 2026
12 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants