Uh oh!
There was an error while loading. Please reload this page.
[browser][mt] Release all proxies of C# and JS objects on WebWorker - #88052
Conversation
ghost
commented
Jun 26, 2023
2547b34 to
16bc9c7Comparepavelsavara
commented
Jun 27, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Jun 28, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
pavelsavara
commented
Jul 3, 2023
Yes, this is on worker after main thread already called |
lambdageek
commented
Jul 3, 2023
Ah ok. does If it does get called then probably the most straightforward thing is to add |
pavelsavara
commented
Jul 4, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
we call
There is |
pavelsavara
commented
Jul 4, 2023
No we don't call it. We call |
lambdageek
commented
Jul 4, 2023
Are you saying you worry that if we exit early from
|
pavelsavara
commented
Jul 4, 2023
I'm exploring alternate exit strategy here #88387 |
NodeJS strange exit, non-MT |
# Conflicts: # src/mono/wasm/runtime/gc-handles.ts # src/mono/wasm/runtime/invoke-cs.ts # src/mono/wasm/runtime/loader/exit.ts # src/mono/wasm/runtime/loader/run.ts # src/mono/wasm/runtime/marshal-to-cs.ts # src/mono/wasm/runtime/pthreads/worker/index.ts # src/mono/wasm/runtime/snapshot.ts # src/mono/wasm/runtime/types/internal.ts # src/mono/wasm/test-main.js
pavelsavara
commented
Jul 22, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Jul 24, 2023
CI failure is #88900 |
pavelsavara
commented
Jul 24, 2023
Example how proxies are disposed on unit tests. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
pavelsavara
commented
Jul 24, 2023
/azp run runtime-wasm |
No commit pushedDate could be found for PR 88052 in repo dotnet/runtime |
pavelsavara
commented
Jul 24, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Unrelated AOT failure Log is #89398 |
withInteropCleanupOnExitcould turn on proxy disposal at the exit of program, for non MT build too.s_gcHandleFromJSOwnedObjectrenamed toThreadJsOwnedObjectsand made ThreadStatic for MTThreadJsOwnedObjectsUninstallWebWorkerInteropwill now dispose all proxies together withforceDisposeProxieson JS sidemono_wasm_pthread_on_pthread_detachedwillassertNoProxiesfor all threadsproxy_debug_symbolto all proxies inDebugbuild of the runtime, for easier diagnosticsnew Errornot just string.forceDisposeProxiesis onINTERNALand is tested after each method ofJSImportExportTest. We also have"keep"property on proxy which will keep it alive anyway, only good for testing.globalThiscan't be disposed from JSHandle.Fixes#86039
Fixes#88057