-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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][MT] test GC #97970
[browser][MT] test GC #97970
Conversation
Tagging subscribers to 'arch-wasm': @lewing Issue Detailsnull
|
Something about this leaks like crazy
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@BrzVlad There's something going on with large object allocations on multi-threaded wasm (and possibly elsewhere). Two cases: if if on the freeing side, I think we're supposed to end up here runtime/src/mono/mono/utils/mono-mmap-wasm.c Lines 168 to 190 in 4eadfbe
and then in emscripten's but what we see is the LOS grows bigger and bigger. runtime/src/mono/mono/sgen/sgen-los.c Lines 442 to 459 in 4eadfbe
as far as I can tell this is all fine - I think we pass On the allocation side, I think things might be a bit wrong: does https://github.com/dotnet/runtime/blob/main/src/mono/mono/sgen/sgen-los.c#L442-L459 It looks like maybe |
I pushed simpler repro as |
Tagging subscribers to this area: @BrzVlad Issue Detailstesting GC
|
Do I need to do something to test MT ? Or just pass a flag to build and then run the sample normally ? |
@BrzVlad I usually do I'm going to try to see if I can repro the problem with the single-threaded runtime or in a osx-arm64 console app, too. |
|
f60ae69
to
7578f64
Compare
7578f64
to
5a4e4c9
Compare
Looks OK now, thanks @BrzVlad
|
testing GC