Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2d71c4b7c91e0c0bde284c99ada0ae797f2ed15c
https://github.com/WebKit/WebKit/commit/2d71c4b7c91e0c0bde284c99ada0ae797f2ed15c
Author: David Degazio <[email protected]>
Date: 2024-09-27 (Fri, 27 Sep 2024)
Changed paths:
M Source/bmalloc/bmalloc/CompactAllocationMode.h
M Source/bmalloc/bmalloc/IsoHeap.cpp
M Source/bmalloc/bmalloc/TZoneHeap.cpp
M Source/bmalloc/libpas/src/libpas/jit_heap.c
M Source/bmalloc/libpas/src/libpas/pas_allocation_mode.h
M Source/bmalloc/libpas/src/libpas/pas_utility_heap.c
Log Message:
-----------
Distinguish always/trivially compactible allocations in libpas/bmalloc
https://bugs.webkit.org/show_bug.cgi?id=280294
rdar://136616671
Reviewed by Keith Miller.
Creates a new pas_always_compact_allocation_mode, used for allocations
from memory spans that are known to be contiguous and specially managed
and for which pointer compression is particularly simple. We adopt this
mode for the libpas bootstrap heap and JIT reservation.
* Source/bmalloc/bmalloc/CompactAllocationMode.h:
(bmalloc::asPasAllocationMode):
* Source/bmalloc/bmalloc/IsoHeap.cpp:
(bmalloc::api::isoAllocateCompact):
(bmalloc::api::isoTryAllocateCompact):
* Source/bmalloc/bmalloc/TZoneHeap.cpp:
(bmalloc::api::tzoneAllocateCompact):
(bmalloc::api::tzoneTryAllocateCompact):
* Source/bmalloc/libpas/src/libpas/jit_heap.c:
(jit_heap_try_allocate):
* Source/bmalloc/libpas/src/libpas/pas_allocation_mode.h:
(pas_allocation_mode_get_string):
* Source/bmalloc/libpas/src/libpas/pas_utility_heap.c:
Canonical link: https://commits.webkit.org/284395@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes