[mono] bug about wasm single thread using lock #112734
Labels
arch-wasm
WebAssembly architecture
area-System.Runtime.InteropServices.JavaScript
os-browser
Browser variant of arch-wasm
tenet-performance
Performance related issue
Milestone
we found the object interop between js and c# excecute slowly

you can find below flame graph:
the
AssertNotDisposed
take most time of argument transfer.we use single thread, Is it not necessary using lock at below functions :
runtime/src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSObject.References.cs
Lines 48 to 54 in da4f0a3
runtime/src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Marshaling/JSMarshalerArgument.Task.cs
Lines 41 to 50 in da4f0a3
should it wrapper with
FEATURE_WASM_MANAGED_THREADS
as other function do.The text was updated successfully, but these errors were encountered: