Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 14852af88aea6b352d28338d1f1a81b86980c91d
https://github.com/WebKit/WebKit/commit/14852af88aea6b352d28338d1f1a81b86980c91d
Author: Daniel Liu <[email protected]>
Date: 2025-10-16 (Thu, 16 Oct 2025)
Changed paths:
A Source/JavaScriptCore/API/MARReportCrashPrivate.cpp
A Source/JavaScriptCore/API/MARReportCrashPrivate.h
M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
M Source/JavaScriptCore/JavaScriptCore_Private.modulemap
M Source/JavaScriptCore/SourcesCocoa.txt
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_heap.c
A Source/bmalloc/libpas/src/libpas/pas_mar_crash_reporter_report.h
A Source/bmalloc/libpas/src/libpas/pas_mar_registry.c
A Source/bmalloc/libpas/src/libpas/pas_mar_registry.h
A Source/bmalloc/libpas/src/libpas/pas_mar_report_crash.c
A Source/bmalloc/libpas/src/libpas/pas_mar_report_crash.h
M Source/bmalloc/libpas/src/libpas/pas_report_crash_pgm_report.h
A Source/bmalloc/libpas/src/test/MARTests.cpp
M Source/bmalloc/libpas/src/test/TestHarness.cpp
Log Message:
-----------
Add PGM-style allocation stack logging for bmalloc allocations
https://bugs.webkit.org/show_bug.cgi?id=299621
rdar://153737681
Reviewed by Yusuke Suzuki.
As another useful diagnostic tool, we want to add in allocation stack logging
for
bmalloc's allocations. Memory Allocation Records (MAR) track metadata about
where
allocations were made, enabling the analysis of these records if we crash. We
aim
to utilize this to help debug bugs involving misuse of allocated memory, likely
a
crash caught by features such as MIE. MAR ensures that the memory access
patterns
are not disrupted, but we are still able to log some metadata to diagnose bugs
at
crash time.
Canonical link: https://commits.webkit.org/301663@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