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 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