Skip to content
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

[wasm] Defer parsing of wasm stack symbolication maps #99974

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

kg
Copy link
Member

@kg kg commented Mar 19, 2024

Right now if a wasm app's assets list contains symbol maps for stack symbolication, we parse them at startup. This allocates a lot of garbage and is generally slow, and during normal execution the symbol map(s) may never actually be used, so this PR defers the actual parsing until first use.

@kg kg added the arch-wasm WebAssembly architecture label Mar 19, 2024
@kg kg requested review from lewing and pavelsavara as code owners March 19, 2024 17:36
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 19, 2024
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

@pavelsavara
Copy link
Member

I like the idea

@kg kg force-pushed the wasm-demangle-symbol-load branch from ef8780b to 83bc8af Compare March 20, 2024 17:24
@kg kg merged commit 503608b into dotnet:main Mar 21, 2024
34 of 36 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants