Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e9f91e5173918196bef2c6a55f49a366c0958276
      
https://github.com/WebKit/WebKit/commit/e9f91e5173918196bef2c6a55f49a366c0958276
  Author: David Degazio <[email protected]>
  Date:   2025-06-16 (Mon, 16 Jun 2025)

  Changed paths:
    M Source/bmalloc/libpas/src/libpas/pas_local_allocator.h
    M Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h
    M Source/bmalloc/libpas/src/libpas/pas_segregated_heap.c
    M Source/bmalloc/libpas/src/libpas/pas_segregated_heap.h
    M Source/bmalloc/libpas/src/libpas/pas_try_allocate_intrinsic.h
    M Source/bmalloc/libpas/src/libpas/pas_utility_heap.c

  Log Message:
  -----------
  Allow profiling of libpas allocations on local allocator granularity
https://bugs.webkit.org/show_bug.cgi?id=294348
rdar://153125216

Reviewed by Keith Miller.

Adds a new field to libpas local allocators to determine whether we should
profile them, allowing a profiling implementation to decide on a smaller
granularity which allocations should and should not get profiling applied.

* Source/bmalloc/libpas/src/libpas/pas_local_allocator.h:
* Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:
(pas_local_allocator_set_up_bump):
(pas_local_allocator_scan_bits_to_set_up_free_bits):
(pas_local_allocator_make_bump):
(pas_local_allocator_prepare_to_allocate):
(pas_local_allocator_set_up_primordial_bump):
(pas_local_allocator_start_allocating_in_primordial_partial_view):
(pas_local_allocator_try_allocate_with_free_bits):
* Source/bmalloc/libpas/src/libpas/pas_segregated_heap.c:
(pas_segregated_heap_construct):
* Source/bmalloc/libpas/src/libpas/pas_segregated_heap.h:
* Source/bmalloc/libpas/src/libpas/pas_try_allocate_intrinsic.h:
(pas_try_allocate_intrinsic_impl_casual_case):
* Source/bmalloc/libpas/src/libpas/pas_utility_heap.c:

Canonical link: https://commits.webkit.org/296285@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

Reply via email to