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

[browser][ST] avoid thread interruption checkpoint #112637

Closed
wants to merge 2 commits into from

Conversation

pavelsavara
Copy link
Member

This should make AOT smaller and everything faster in ST.

  • rename mono_opt_wasm_gc_safepoints to mono_opt_wasm_disable_threads and negate it
  • mono_marshal_shared_emit_thread_interrupt_checkpoint_call and emit_thread_interrupt_checkpoint used only then threads are not disabled
  • avoid mono_thread_interruption_checkpoint in ST monitor.c
  • ifdef threads.c
  • empty EXCEPTION_CHECKPOINT for ST

Fixes #112631

… and negate it

- mono_marshal_shared_emit_thread_interrupt_checkpoint_call only then threads are not disabled
- avoid mono_thread_interruption_checkpoint in ST monitor.c
- annotate threads.c
- empty EXCEPTION_CHECKPOINT for ST
@pavelsavara
Copy link
Member Author

cc @BrzVlad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Mono] mono_thread_interruption_checkpoint
1 participant