Skip to content

Commit c7cb486

Browse files
d-nettokpamnany
authored andcommitted
Correct GC bug (usage of not_freed_enough) (#143)
Co-authored-by: K Pamnany <kpamnany@users.noreply.github.com>
1 parent bbdc1f3 commit c7cb486

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3688,7 +3688,7 @@ static int _jl_gc_collect(jl_ptls_t ptls, jl_gc_collection_t collection)
36883688

36893689
if (collection == JL_GC_AUTO) {
36903690
//If we aren't freeing enough or are seeing lots and lots of pointers let it increase faster
3691-
if (!not_freed_enough || large_frontier) {
3691+
if (not_freed_enough || large_frontier) {
36923692
int64_t tot = 2 * (live_bytes + actual_allocd) / 3;
36933693
if (gc_num.interval > tot) {
36943694
gc_num.interval = tot;

0 commit comments

Comments
 (0)