Repository navigation
[libpas] Clean up Windows implementation - #63762
Merged
Merged
Conversation
Collaborator
|
EWS run on previous version of this PR (hash 55ed4db) Details
|
Constellation
force-pushed
the
windows-cleanup
branch
from
April 28, 2026 02:59
55ed4db to
cb02a8b
Compare
Collaborator
|
EWS run on current version of this PR (hash cb02a8b) Details |
https://bugs.webkit.org/show_bug.cgi?id=313512 rdar://175725768 Reviewed by Marcus Plutowski. 1. Scan libpas pthread stub on Windows and fix obvious issues. 2. We reintroduce is_symmetric flag to pas page allocation. When it is set, commit and decommit are paired explicitly (asymmetric protocol does not require explicit commit) as Windows has commit charge limit which does not exits on POSIX environment. * Source/WTF/wtf/win/OSAllocatorWin.cpp: (WTF::OSAllocator::decommit): * Source/bmalloc/libpas/src/libpas/pas_config.h: * Source/bmalloc/libpas/src/libpas/pas_expendable_memory.c: (scavenge_impl): * Source/bmalloc/libpas/src/libpas/pas_monotonic_time.c: (pas_get_current_monotonic_time_nanoseconds): * Source/bmalloc/libpas/src/libpas/pas_page_malloc.c: (virtual_query_checked): (virtual_alloc_with_retry): (pas_page_malloc_try_map_pages): (commit_impl): (pas_page_malloc_commit): (pas_page_malloc_commit_without_mprotect): (decommit_impl): (pas_page_malloc_decommit): (pas_page_malloc_decommit_without_mprotect): (pas_page_malloc_deallocate): * Source/bmalloc/libpas/src/libpas/pas_page_malloc.h: * Source/bmalloc/libpas/src/libpas/pas_scavenger.c: (get_time_in_milliseconds): * Source/bmalloc/libpas/src/libpas/pas_thread.c: (pthread_create): (pthread_detach): (pthread_once): (pthread_key_create): (pthread_cond_timedwait): * Source/bmalloc/libpas/src/libpas/pas_thread.h: * Source/bmalloc/libpas/src/libpas/pas_thread_local_cache.c: (deallocate): (pas_thread_local_cache_ensure_committed): (decommit_allocator_range): Canonical link: https://commits.webkit.org/312218@main
webkit-commit-queue
force-pushed
the
windows-cleanup
branch
from
April 28, 2026 18:08
cb02a8b to
0e74ad9
Compare
Collaborator
|
Committed 312218@main (0e74ad9): https://commits.webkit.org/312218@main Reviewed commits have been landed. Closing PR #63762 and removing active labels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛠 vision-apple
0e74ad9
cb02a8b