[all-commits] [llvm/llvm-project] 6c4feb: [lldb-dap] Implement a MemoryMonitor (#129332)
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Wed Mar 5 08:50:11 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c4febee2992d206e95e2ed2294fe216739af1cb
https://github.com/llvm/llvm-project/commit/6c4febee2992d206e95e2ed2294fe216739af1cb
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-03-05 (Wed, 05 Mar 2025)
Changed paths:
A lldb/include/lldb/Host/MemoryMonitor.h
M lldb/source/Host/CMakeLists.txt
A lldb/source/Host/common/MemoryMonitor.cpp
M lldb/source/Host/macosx/objcxx/CMakeLists.txt
A lldb/source/Host/macosx/objcxx/MemoryMonitorMacOSX.mm
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
[lldb-dap] Implement a MemoryMonitor (#129332)
This implements a memory monitor for macOS, Linux and Windows. It
registers a callback that invokes `SBDebugger::MemoryPressureDetected`
when a low memory event is detected. This is motivated by the new
server mode, where the lldb-dap process will live across multiple
debug sessions and will use more memory due to caching.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list