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

core: Always set gc_heap_size_default to support initialize multiple … #5

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

no1wudi
Copy link
Collaborator

@no1wudi no1wudi commented Feb 19, 2025

Summary

  • Updated the wasm_runtime_full_init function to always set gc_heap_size_default during initialization
  • This ensures that the garbage collection heap size is correctly configured even when the runtime is initialized multiple times

Impact

  • Enhances the robustness of the runtime initialization process for multi-instance environments
  • No impact on single-instance use cases, but prepares the codebase for better multi-instance support in the future

…times

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 4b75cc1 into open-vela:dev Feb 19, 2025
3 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