diff options
author | Mark Probst <mark.probst@gmail.com> | 2015-02-13 20:58:02 +0300 |
---|---|---|
committer | Mark Probst <mark.probst@gmail.com> | 2015-04-03 02:41:30 +0300 |
commit | 6fb229abc885f5d97cb1444a210729a2b625aa2c (patch) | |
tree | 1bfaf9553d3fdc78a27245cdd8fc9eb1c32a2709 /man/mono.1 | |
parent | 8333c2f4e77d63276d2efcba56b1e7d9bceb7117 (diff) |
[sgen] Implement a simple thread pool and do concurrent sweep with it.
We cannot start threads during stop-the-world pauses (some thread APIs,
including pthreads, can deadlock), and we want to do marking and sweeping
with the same threads. This new thread pool facility will allow that.
Diffstat (limited to 'man/mono.1')
-rw-r--r-- | man/mono.1 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/man/mono.1 b/man/mono.1 index 17ec6e29446..7cd68eaef4a 100644 --- a/man/mono.1 +++ b/man/mono.1 @@ -1129,9 +1129,16 @@ to 100 percent. A value of 0 turns evacuation off. .TP \fB(no-)lazy-sweep\fR Enables or disables lazy sweep for the Mark&Sweep collector. If -enabled, the sweep phase of the garbage collection is done piecemeal -whenever the need arises, typically during nursery collections. Lazy -sweeping is enabled by default. +enabled, the sweeping of individual major heap blocks is done +piecemeal whenever the need arises, typically during nursery +collections. Lazy sweeping is enabled by default. +.TP +\fB(no-)concurrent-sweep\fR +Enables or disables concurrent sweep for the Mark&Sweep collector. If +enabled, the iteration of all major blocks to determine which ones can +be freed and which ones have to be kept and swept, is done +concurrently with the running program. Concurrent sweeping is enabled +by default. .TP \fBstack-mark=\fImark-mode\fR Specifies how application threads should be scanned. Options are |