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

store ContextState and ModuleMap in embedder slots #772

Merged
merged 5 commits into from
Jun 7, 2024
Merged

Conversation

littledivy
Copy link
Member

Remove usage of rusty_v8 annex slots for storing ContextState and ModuleMap and instead store them directly in a dedicated embedder field.

Needed for denoland/deno#23976

core/runtime/jsrealm.rs Outdated Show resolved Hide resolved
@littledivy littledivy merged commit 98d52cf into main Jun 7, 2024
18 checks passed
@littledivy littledivy deleted the non_slots branch June 7, 2024 12:04
bartlomieju added a commit to bartlomieju/deno_core that referenced this pull request Jun 7, 2024
bartlomieju added a commit that referenced this pull request Jun 7, 2024
#776)

This reverts commit 98d52cf.

CC @littledivy I had trouble updating `deno_core` in Deno as it died on
`node_unit_tests::vm_test`
with signal 11 during `vm context promise rejection` test. Also
`Box<Rc<...>>` seems fishy as pointed
as by @dsherret in
#775 (comment)
littledivy added a commit that referenced this pull request Jun 8, 2024
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