ladybird/Userland
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
..
Applets Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Applications Assistant: Use static_cast instead of dynamic_cast 2021-06-30 11:44:52 +02:00
Demos Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
DevTools AK+Everywhere: Remove "null state" of LexicalPath 2021-06-30 11:13:54 +02:00
DynamicLoader DynamicLoader: Implement self relocations for x86_64 2021-06-29 20:03:36 +02:00
Games Games: Add Spider 2021-06-24 10:32:53 +02:00
Libraries LibCoreDump: Change Backtrace debug info cache to member variable 2021-06-30 15:15:15 +02:00
Services AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
Shell AK: Remove the LexicalPath::is_valid() API 2021-06-30 11:13:54 +02:00
Utilities run-tests: Update for LexicalPath API changes 2021-06-30 11:19:21 +02:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00