Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 824037e6445b151e2d3c2aefe7a87e0196a43cf9
      
https://github.com/WebKit/WebKit/commit/824037e6445b151e2d3c2aefe7a87e0196a43cf9
  Author: Marcus Plutowski <[email protected]>
  Date:   2026-03-19 (Thu, 19 Mar 2026)

  Changed paths:
    M Source/bmalloc/bmalloc/TZoneHeapManager.cpp
    M Source/bmalloc/libpas/src/libpas/bmalloc_heap.c
    M Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h
    M Source/bmalloc/libpas/src/libpas/pas_allocation_mode.h
    M Source/bmalloc/libpas/src/libpas/pas_mte_config.h

  Log Message:
  -----------
  [libpas] Disable and rename PAS_USE_COMPACT_ONLY_TZONE_HEAP
https://bugs.webkit.org/show_bug.cgi?id=310115
rdar://172759337

Reviewed by Mark Lam.

This was previously enabled as a performance optimization,
which no longer applies now that we distinguish between
hardened and non-hardened WebContent processes.
As such, we can incrementally harden our security posture by
re-enabling size segregation for non-compact objects in
+MTE processes.

This also renames PAS_USE_COMPACT_ONLY_TZONE_HEAP to
PAS_BYPASS_TZONE_FOR_NONCOMPACT_OBJECTS to be explicit about what the
macro actually does -- beforehand it was vague and the most direct
implication was actually the opposite of what it does.

Further, it removes PAS_USE_COPMACT_ONLY_HEAP altogether, as there's
no benefit to leaving that in now that we're locked in to using MTE.

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



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

Reply via email to