ladybird/Libraries/LibCore
Andreas Kling 8c809fa5ee LibCore: Don't reserve 2 KiB of stack memory when processing event queue
The inline capacity on ThreadEventQueue::Private::queued_events caused
us to reserve (and importantly, not initialize!) 2 KiB of stack memory
when entering ThreadEventQueue::process().

This was causing any leftover pointers to GC-allocated objects within
that memory range to keep those objects alive, even when all other
references were gone.
2024-11-10 19:12:59 +01:00
..
Platform Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
AnonymousBuffer.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
AnonymousBuffer.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
AnonymousBufferWindows.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ArgsParser.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ArgsParser.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
CMakeLists.txt Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Command.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Command.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ConfigFile.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ConfigFile.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DateTime.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DateTime.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DeferredInvocationContext.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Directory.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Directory.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DirectoryEntry.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DirectoryEntry.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DirIterator.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DirIterator.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ElapsedTimer.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ElapsedTimer.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Environment.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Environment.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Event.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Event.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
EventLoop.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
EventLoop.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
EventLoopImplementation.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
EventLoopImplementation.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
EventLoopImplementationUnix.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
EventLoopImplementationUnix.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
EventReceiver.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
EventReceiver.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
File.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
File.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
FileWatcher.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
FileWatcherLinux.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
FileWatcherMacOS.mm Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
FileWatcherUnimplemented.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Forward.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
IOSurface.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
IOSurface.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LocalServer.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LocalServer.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MachPort.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MachPort.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MappedFile.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MappedFile.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MimeData.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MimeData.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
NetworkResponse.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Notifier.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Notifier.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Process.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Process.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Promise.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Proxy.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Resource.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Resource.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ResourceImplementation.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ResourceImplementation.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ResourceImplementationFile.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ResourceImplementationFile.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SessionManagement.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SessionManagement.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SharedCircularQueue.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Socket.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Socket.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SocketAddress.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StandardPaths.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StandardPaths.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
System.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
System.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SystemServerTakeover.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SystemServerTakeover.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SystemWindows.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TCPServer.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TCPServer.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ThreadedPromise.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ThreadEventQueue.cpp LibCore: Don't reserve 2 KiB of stack memory when processing event queue 2024-11-10 19:12:59 +01:00
ThreadEventQueue.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Timer.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Timer.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TimeZoneWatcher.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TimeZoneWatcherLinux.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TimeZoneWatcherMacOS.mm Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TimeZoneWatcherUnimplemented.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
UDPServer.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
UDPServer.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Version.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Version.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00