KEMBAR78
[wasm] Be more cautious about page zeroing by kg · Pull Request #106080 · dotnet/runtime · GitHub
Skip to content

Conversation

@kg
Copy link
Member

@kg kg commented Aug 7, 2024

Should fix #106007

@kg kg added the arch-wasm WebAssembly architecture label Aug 7, 2024
@ghost ghost added the area-GC-mono label Aug 7, 2024
{
unsigned long prot_flags = activate? MONO_MMAP_READ|MONO_MMAP_WRITE: MONO_MMAP_NONE;
return prot_flags | MONO_MMAP_PRIVATE | MONO_MMAP_ANON | MONO_MMAP_NOZERO;
return prot_flags | MONO_MMAP_PRIVATE | MONO_MMAP_ANON;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should some of this be ifdef WASM ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It currently has no effect on other platforms, so it doesn't need to be

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-GC-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[mono][wasm] Assertion at mono/utils/lock-free-alloc.c:210, condition `!desc->in_use' not met

3 participants