[sgen] Use parallel minors for pause mode
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 28 Jun 2017 10:12:59 +0000 (13:12 +0300)
committerVlad Brezae <brezaevlad@gmail.com>
Thu, 20 Jul 2017 10:53:46 +0000 (13:53 +0300)
It should makes pauses less influenced by workload spikes

mono/sgen/sgen-gc.c

index 8f6ee8aa833b60c240bb421bea0236c118fd28ad..83e0d8307a8638465123ed6adcab95c6ac4a8578 100644 (file)
@@ -3171,9 +3171,8 @@ init_sgen_mode (SgenMode mode)
                /*
                 * Use concurrent major and dynamic nursery with a more
                 * aggressive shrinking relative to pause times.
-                * FIXME use parallel minors
                 */
-               minor = SGEN_MINOR_SIMPLE;
+               minor = SGEN_MINOR_SIMPLE_PARALLEL;
                major = SGEN_MAJOR_CONCURRENT;
                dynamic_nursery = TRUE;
                sgen_max_pause_margin = SGEN_PAUSE_MODE_MAX_PAUSE_MARGIN;