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

Enable jemalloc for ARM64EC #3570

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Enable jemalloc for ARM64EC #3570

merged 3 commits into from
Apr 11, 2024

Conversation

bylaws
Copy link
Collaborator

@bylaws bylaws commented Apr 9, 2024

Since FEX shares msvcrt with the guest on ARM64EC, FEX code can called into with the crt heap lock locked e.g by a system call callback inside of malloc. To avoid deadlocking in such scenarios jemalloc is used instead of msvcrt malloc.

@Sonicadvance1 Sonicadvance1 merged commit a9b7ad8 into FEX-Emu:main Apr 11, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants