ladybird/Userland/Libraries/LibCoreDump
Max Wipfli c1fbfdc164 LibCoreDump: Change Backtrace debug info cache to member variable
This changes the previously static s_debug_info_cache to a member
variable. This is required so the cache is not kept alive if the
Backtrace object is destroyed.

Previously, the cache object would keep alive MappedFile objects and
other data, resulting in CrashReporter and CrashDaemon using more than
100 MB of memory even after the Backtrace objects have been destroyed
(and the data is thus no longer needed). This was especially the case
when handling crashes from Browser (due to libweb.so and libjs.so).

Due to this change, object_info_for_region has been promoted to a
instance method. It has also been cleaned up somewhat.
2021-06-30 15:15:15 +02:00
..
Backtrace.cpp LibCoreDump: Change Backtrace debug info cache to member variable 2021-06-30 15:15:15 +02:00
Backtrace.h LibCoreDump: Change Backtrace debug info cache to member variable 2021-06-30 15:15:15 +02:00
CMakeLists.txt LibCoreDump+CrashDaemon: Compress coredumps 2021-03-28 20:42:33 +02:00
Forward.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
Reader.cpp Kernel+LibCoreDump: Implement more x86_64 coredump functionality 2021-06-29 20:03:36 +02:00
Reader.h Kernel+LibCoreDump: Implement more x86_64 coredump functionality 2021-06-29 20:03:36 +02:00