diff options
author | Linus Groh <mail@linusgroh.de> | 2021-03-28 18:22:54 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-28 20:40:22 +0200 |
commit | 8c99968ec1c77fc4e664818688ab85ea3dbfa248 (patch) | |
tree | ba6c552cef5f98ed30867c78317d4c6310154331 /Userland/Libraries | |
parent | d927b69082180c03d02bf380cdd0583bb2e63b9c (diff) | |
download | serenity-8c99968ec1c77fc4e664818688ab85ea3dbfa248.zip |
LibJS: Fix m_allocations_since_last_gc initialization value
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibJS/Heap/Heap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Heap/Heap.h b/Userland/Libraries/LibJS/Heap/Heap.h index 8d7d32298f..c36bc34539 100644 --- a/Userland/Libraries/LibJS/Heap/Heap.h +++ b/Userland/Libraries/LibJS/Heap/Heap.h @@ -112,7 +112,7 @@ private: } size_t m_max_allocations_between_gc { 10000 }; - size_t m_allocations_since_last_gc { false }; + size_t m_allocations_since_last_gc { 0 }; bool m_should_collect_on_every_allocation { false }; |