1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:17:35 +00:00
serenity/Userland/Libraries/LibJS/Heap
Andrew Kaster 81a5dcde84 LibJS: Expose minimum possible cell size of JS::Heap
Use this to avoid creating a 16 byte cell allocator on x86_64, where the
size of FreelistEntry is 24 bytes. Every JS::Cell must be at least the
size of the FreelistEntry or things start crashing, so the 16 byte
allocator was wasted on that platform.
2021-05-29 17:47:29 +01:00
..
BlockAllocator.cpp LibJS: Poison unused heap blocks until they are re-allocated 2021-05-28 07:59:41 +02:00
BlockAllocator.h LibJS: Add inline capacity to BlockAllocator's blocks Vector 2021-05-28 00:07:24 +01:00
Cell.h LibJS: Make Cell::Visitor::visit_impl() take a Cell& 2021-05-25 18:39:01 +02:00
CellAllocator.cpp LibJS: Rename Allocator => CellAllocator 2021-05-27 19:56:12 +02:00
CellAllocator.h LibJS: Rename Allocator => CellAllocator 2021-05-27 19:56:12 +02:00
DeferGC.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Handle.cpp LibJS: Move Cell.{cpp,h} from Runtime/ to Heap/ 2021-05-17 19:53:00 +02:00
Handle.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Heap.cpp LibJS: Expose minimum possible cell size of JS::Heap 2021-05-29 17:47:29 +01:00
Heap.h LibJS: Rename Allocator => CellAllocator 2021-05-27 19:56:12 +02:00
HeapBlock.cpp LibJS: Remove unused HeapBlock::operator delete() 2021-05-27 20:07:34 +02:00
HeapBlock.h LibJS: Expose minimum possible cell size of JS::Heap 2021-05-29 17:47:29 +01:00