-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Add more profiling macro invocations to libPAS
https://bugs.webkit.org/show_bug.cgi?id=269528 rdar://122974187 Reviewed by Justin Michaud and Yusuke Suzuki. Adds PAS_PROFILE invocations to more places throughout libPAS, and standardizes the PAS_PROFILE interface - a discriminator is expected in the first parameter (like the similar BPROFILE_ALLOCATION macro in bmalloc), followed by any number of arguments that are expected to be uintptr_t lvalues. * Source/bmalloc/libpas/src/libpas/pas_allocation_result.c: (pas_allocation_result_zero_large_slow): * Source/bmalloc/libpas/src/libpas/pas_allocation_result.h: (pas_allocation_result_zero): * Source/bmalloc/libpas/src/libpas/pas_deallocate.c: (pas_try_deallocate_known_large): * Source/bmalloc/libpas/src/libpas/pas_deallocate.h: (pas_try_deallocate): * Source/bmalloc/libpas/src/libpas/pas_fast_megapage_table.h: (pas_fast_megapage_table_get): * Source/bmalloc/libpas/src/libpas/pas_free_granules.c: (pas_free_granules_compute_and_mark_decommitted): * Source/bmalloc/libpas/src/libpas/pas_heap.c: (pas_heap_create): * Source/bmalloc/libpas/src/libpas/pas_large_map.c: (pas_large_map_find): (pas_large_map_add): (pas_large_map_take): * Source/bmalloc/libpas/src/libpas/pas_page_base_config_utils.h: * Source/bmalloc/libpas/src/libpas/pas_page_base_config_utils_inlines.h: * Source/bmalloc/libpas/src/libpas/pas_page_malloc.c: (pas_page_malloc_try_allocate_without_deallocating_padding): (pas_page_malloc_deallocate): * Source/bmalloc/libpas/src/libpas/pas_try_reallocate.h: (pas_try_reallocate): * Source/bmalloc/libpas/src/libpas/pas_utils.h: (pas_zero_memory): Canonical link: https://commits.webkit.org/274843@main
- Loading branch information
Showing
13 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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