Skip to content

Commit 1f4b169

Browse files
authored
Merge pull request #2550 from rainers/doc_gc_cleanup
Add doc for --DRT-gcopt=cleanup merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2 parents 9dab073 + 92559c1 commit 1f4b169

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

spec/garbage.dd

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,14 @@ $(H2 $(LNAME2 gc_config, Configuring the Garbage Collector))
407407
$(LI maxPoolSize:N - maximum pool size in MB)
408408
$(LI incPoolSize:N - pool size increment MB)
409409
$(LI heapSizeFactor:N - targeted heap size to used memory ratio)
410-
)
410+
$(LI cleanup:none|collect|finalize - how to treat live objects when terminating
411+
$(UL
412+
$(LI collect: run a collection (the default for backward compatibility))
413+
$(LI none: do nothing)
414+
$(LI finalize: all live objects are finalized unconditionally)
415+
)
416+
))
417+
411418

412419
$(P In addition, --DRT-gcopt=help will show the list of options and their current settings.
413420
)

0 commit comments

Comments
 (0)