Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/execution.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Trigger several successive GC sweeps. This is more comprehensive than running just a
# single sweep, since freeable objects may need more than one sweep to be appropriately
# marked and freed.
gcscrub() = (GC.gc(); GC.gc(); GC.gc(); GC.gc())
function gcscrub()
GC.gc()
GC.gc()
GC.gc()
@static if VERSION < v"1.10"
GC.gc()
end
end

#############
# Benchmark #
Expand Down