Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reserve the default context for V8 internals #782

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Conversation

littledivy
Copy link
Member

@littledivy littledivy commented Jun 14, 2024

V8 uses the default context for internal things https://chromium.googlesource.com/v8/v8/+/refs/heads/main/src/inspector/v8-inspector-impl.cc#356

With this PR, deno_core will create a new default context during snapshot and add deno_core's context separately (as the last context of the snapshot)

Ref denoland/deno#24204

Fixes denoland/deno#24196

@littledivy littledivy changed the title Setup the default context for V8 internals Reserve the default context for V8 internals Jun 14, 2024
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@littledivy littledivy merged commit 7b55e5c into main Jun 14, 2024
18 checks passed
@littledivy littledivy deleted the v8_default_context branch June 14, 2024 13:35
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.

Broken debugger
2 participants