Skip to content

Conversation

pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Dec 8, 2023

  • mono_wasm_init_finalizer_thread for MT runtime
  • run MT unit test from the thread pool thread, so that UI thread keeps responsive
  • -backgroundExec for Wasm test runner triggered via <_XUnitBackgroundExec>

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm labels Dec 8, 2023
@pavelsavara pavelsavara added this to the 9.0.0 milestone Dec 8, 2023
@pavelsavara pavelsavara self-assigned this Dec 8, 2023
@ghost
Copy link

ghost commented Dec 8, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-VM-threading-mono, os-browser

Milestone: 9.0.0

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

Surprisingly this change opens more opportunity for mono_thread_platform_create_thread failure in many unit tests.

System.ExecutionEngineException : mono_thread_platform_create_thread() failed
[11:14:05] info:    at System.Threading.Thread.ThrowThreadStartException(Exception ex)
[11:14:05] info:    at System.Threading.Thread.StartCore()

Log
Log
Log
Log
Log

- -backgroundExec for Wasm test runner triggered via </_XUnitBackgroundExec>
@pavelsavara pavelsavara force-pushed the mono_gc_init_finalizer_thread branch from a5838e5 to b331283 Compare December 8, 2023 15:44
@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara pavelsavara marked this pull request as ready for review December 8, 2023 17:25
@pavelsavara pavelsavara requested review from lewing and kg as code owners December 8, 2023 17:25
@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara pavelsavara changed the title [browser][MT] enable finalizer thread [browser][MT] enable finalizer thread, run most tests in threadpool Dec 11, 2023
@pavelsavara
Copy link
Member Author

CI failures are unrelated

@pavelsavara pavelsavara merged commit cea45aa into dotnet:main Dec 12, 2023
@pavelsavara pavelsavara deleted the mono_gc_init_finalizer_thread branch December 12, 2023 10:10
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

2 participants