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

[4.0 -> main] Remove global WASM::check_limits and initial memory from instantiate_module #977

Merged
merged 7 commits into from
Apr 5, 2023

Conversation

linh2931
Copy link
Member

@linh2931 linh2931 commented Apr 5, 2023

Merge #975 to main.

#969 identified global scoped_skip_checks can be accessible by multiple read-only threads. This variable is not needed in wasm_interface_impl::get_instantiated_module.

Another finding was initial memory argument in instantiate_module was not needed in all the instantiate_module methods. I double checked that it was un-named in all the implementations of instantiate_module. Safe to remove.

This PR removed both of them.

@linh2931 linh2931 requested review from heifner and spoonincode April 5, 2023 20:44
@linh2931 linh2931 merged commit 8bce249 into main Apr 5, 2023
@linh2931 linh2931 deleted the merge_remove_check_limits_to_main branch April 5, 2023 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

remove/refactor global WASM::check_limits which is accessed from multiple threads
3 participants