Andreas Kling
|
2495460f6e
LibJS: Prune WeakContainers before freeing HeapBlocks
|
3 years ago |
Andreas Kling
|
83bd675477
LibJS: Make WeakContainer pruning do less work
|
3 years ago |
Andreas Kling
|
6a1b82df2b
LibJS: Put zombie cell tracking code behind a compile-time flag
|
3 years ago |
Andreas Kling
|
f290c59dd8
LibJS: Keep track of PrimitiveStrings and share them
|
3 years ago |
Brian Gianforcaro
|
12024aeda9
LibJS: Use ElapsedTimer::start_new();
|
3 years ago |
Andreas Kling
|
c364520c24
LibJS+js+test-js: Add GC debug mode that keeps cells "alive" as zombies
|
3 years ago |
Andreas Kling
|
470c99a2a6
LibJS: Tweak the WeakContainer::remove_swept_cells() API a little bit
|
3 years ago |
davidot
|
43b17f27a3
test-js: Add a mark_as_garbage method to force GC to collect that object
|
3 years ago |
Andreas Kling
|
1e90a3a542
Kernel: Make sys$perf_register_string() generate the string ID's
|
3 years ago |
Andreas Kling
|
56e84a63ca
LibJS: Emit a profile signpost when starting a garbage collection
|
3 years ago |
Andreas Kling
|
cdc1315dc8
LibJS: Use IntrusiveList for keeping track of WeakContainers
|
4 years ago |
Andreas Kling
|
3fe1be20b7
LibJS: Use IntrusiveList for keeping track of MarkedValueLists
|
4 years ago |
Andreas Kling
|
746b310061
LibJS: Use IntrusiveList for keeping track of HandleImpls
|
4 years ago |
Andreas Kling
|
cd53d046b2
LibJS: Fix typo "sweeped" => "swept" everywhere
|
4 years ago |
Idan Horowitz
|
1a8ee5d8d7
LibJS: Generify the garbage collector's weak container notifications
|
4 years ago |
Idan Horowitz
|
a00d154522
LibJS: Notify WeakSets when heap cells are sweeped
|
4 years ago |
Linus Groh
|
e7bfd34ea7
LibJS: Add dbgln() to Heap::allocator_for_size() before crashing
|
4 years ago |
Andrew Kaster
|
81a5dcde84
LibJS: Expose minimum possible cell size of JS::Heap
|
4 years ago |
Andreas Kling
|
9b699bad94
LibJS: Rename Allocator => CellAllocator
|
4 years ago |
Andreas Kling
|
cfe3895991
LibJS: Fix broken dbgln_if(HEAP_DEBUG)
|
4 years ago |
Andreas Kling
|
2de9139532
LibJS: Fix clang-tidy warnings about redundant types in Heap.cpp
|
4 years ago |
Andreas Kling
|
47a4b2ba9f
LibJS: Make Value::as_cell() return a Cell&
|
4 years ago |
Andreas Kling
|
0de954e86b
LibJS: Make Cell::Visitor::visit_impl() take a Cell&
|
4 years ago |
Andreas Kling
|
789d20ebb7
LibJS: Replace Cell live bit with a cell state
|
4 years ago |
Andrew Kaster
|
f90a19ba4c
LibJS: Make sure all allocators are 8-byte aligned
|
4 years ago |
Brian Gianforcaro
|
1682f0b760
Everything: Move to SPDX license identifiers in all files.
|
4 years ago |
Linus Groh
|
87a43fa87c
LibJS: Use 'if constexpr' instead of '#if HEAP_DEBUG'
|
4 years ago |
Hendiadyoin1
|
c0c4e99c74
LibJS: Use dbgln_if in Heap.cpp
|
4 years ago |
Andreas Kling
|
5d180d1f99
Everywhere: Rename ASSERT => VERIFY
|
4 years ago |
asynts
|
eea72b9b5c
Everywhere: Hook up remaining debug macros to Debug.h.
|
4 years ago |