Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3f04665f12e89bd9e01c6cbb8f0ecb9724d14a15
      
https://github.com/WebKit/WebKit/commit/3f04665f12e89bd9e01c6cbb8f0ecb9724d14a15
  Author: Marcus Plutowski <[email protected]>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M Source/bmalloc/CMakeLists.txt
    M Source/bmalloc/bmalloc.xcodeproj/project.pbxproj
    M Source/bmalloc/libpas/libpas.xcodeproj/project.pbxproj
    M Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h
    M Source/bmalloc/libpas/src/libpas/pas_all_heap_configs.h
    M Source/bmalloc/libpas/src/libpas/pas_all_heaps.c
    M Source/bmalloc/libpas/src/libpas/pas_bitfit_page_config_kind.def
    M Source/bmalloc/libpas/src/libpas/pas_heap_config_kind.def
    M Source/bmalloc/libpas/src/libpas/pas_mar_registry.h
    M Source/bmalloc/libpas/src/libpas/pas_segregated_page_config_kind.def
    A Source/bmalloc/libpas/src/libpas/tagged_bmalloc_heap.c
    A Source/bmalloc/libpas/src/libpas/tagged_bmalloc_heap.h
    A Source/bmalloc/libpas/src/libpas/tagged_bmalloc_heap_config.c
    A Source/bmalloc/libpas/src/libpas/tagged_bmalloc_heap_config.h
    A Source/bmalloc/libpas/src/libpas/tagged_bmalloc_heap_inlines.h
    A Source/bmalloc/libpas/src/libpas/tagged_bmalloc_heap_innards.h
    A Source/bmalloc/libpas/src/libpas/tagged_bmalloc_heap_utils.c
    A Source/bmalloc/libpas/src/libpas/tagged_bmalloc_heap_utils.h
    M Source/bmalloc/libpas/src/test/BmallocTests.cpp
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj

  Log Message:
  -----------
  [libpas] Create new tagged_bmalloc_heap
https://bugs.webkit.org/show_bug.cgi?id=315716
rdar://178088002

Reviewed by Yusuke Suzuki.

This is the first step towards separating libpas' bmalloc-heap into two
separate heaps, one allocating tagged memory and one untagged. The
ultimate goal is for all libpas heaps to only ever allocate one 'kind'
of memory: for Unix-like platforms this concretely means that there
should be exactly one set of mmap flags used for allocating fresh memory
within the heap.
This patch implements the new heap and wires it into test_pas, but does
not actually use it in bmalloc per se; this will happen in a future
step.
Notably, the new heap has only the subset of bmalloc_heap
functionality that we use with MTE: i.e. no isoheaps, no flex heaps,
and no auxiliary heaps. This considerably simplifies the API layer
and allows for a much tighter implementation.

Canonical link: https://commits.webkit.org/315039@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to