Skip to content

Use the default allocator on Windows userland - #1349

Draft
Weiteng Chen (CvvT) wants to merge 3 commits into
mainfrom
weiteng/remove_windows_global_allocator
Draft

Use the default allocator on Windows userland#1349
Weiteng Chen (CvvT) wants to merge 3 commits into
mainfrom
weiteng/remove_windows_global_allocator

Conversation

@CvvT

Copy link
Copy Markdown
Contributor

No description provided.

Remove the platform's global SafeZoneAllocator declaration so Rust heap allocations use the default allocator. Leave guest page management and the MemoryProvider implementation unchanged.

Avoid the slab spinlock involved in the observed ExitProcess TLS-cleanup deadlock. The rebuilt run_multithreaded_pe test and 50 sequential no-retry stress repetitions passed. Detached-worker shutdown remains a separate lifecycle concern.
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@CvvT
Weiteng Chen (CvvT) marked this pull request as ready for review September 11, 2026 06:20
@CvvT
Weiteng Chen (CvvT) marked this pull request as draft September 11, 2026 18:54
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.

1 participant