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

Make global/static variables thread_local; use mmap() for managing memory #1161

Merged
merged 23 commits into from
Nov 26, 2024

Conversation

stevenmeker
Copy link
Collaborator

Memory allocation is simplified by using mmap() to allocate a single 1TB block of addresses and relying on demand paging. Global and static variables are made thread_local and setThreadLocal(true) is used on such variables in the code generator.

@dwightguth dwightguth enabled auto-merge (squash) November 26, 2024 18:29
@dwightguth dwightguth merged commit 0f72ec9 into develop Nov 26, 2024
10 checks passed
@dwightguth dwightguth deleted the thread_safe3 branch November 26, 2024 19:03
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