ladybird/Userland/DevTools
Gunnar Beutner 39f0739381 LibC+UE: Keep more unused chunked blocks around
Previously each malloc size class would keep around a limited number of
unused blocks which were marked with MADV_SET_VOLATILE which could then
be reinitialized when additional blocks were needed.

This changes malloc() so that it also keeps around a number of blocks
without marking them with MADV_SET_VOLATILE. I termed these "hot"
blocks whereas blocks which were marked as MADV_SET_VOLATILE are called
"cold" blocks because they're more expensive to reinitialize.

In the worst case this could increase memory usage per process by
1MB when a program requests a bunch of memory and frees all of it.

Also, in order to make more efficient use of these unused blocks
they're now shared between size classes.
2021-05-23 19:31:39 +02:00
..
HackStudio Userland: Mark subclasses of IPC::{Client,Server}Connection final 2021-05-23 09:53:55 +02:00
Inspector LibIPC: Remove unnecessary IPC::ServerConnection::handshake() 2021-05-23 09:53:55 +02:00
IPCCompiler IPCCompiler: Fix declaration of static functions 2021-05-14 22:24:02 +02:00
Playground Playground: Show the modified state in the window title 2021-05-17 21:04:54 +01:00
Profiler LibCore: Make ProcessStatisticsReader return results in a Vector 2021-05-23 11:10:15 +02:00
StateMachineGenerator Userland: Change typedef to using directive 2021-05-21 10:07:22 +01:00
UserspaceEmulator LibC+UE: Keep more unused chunked blocks around 2021-05-23 19:31:39 +02:00
CMakeLists.txt DevTools: Move to Userland/DevTools/ 2021-01-12 12:18:55 +01:00