comparison src/share/vm/gc_implementation/g1/g1_globals.hpp @ 2034:7e37af9d69ef

7011379: G1: overly long concurrent marking cycles Summary: This changeset introduces filtering of SATB buffers at the point when they are about to be enqueued. If this filtering clears enough entries on each buffer, the buffer can then be re-used and not enqueued. This cuts down the number of SATB buffers that need to be processed by the concurrent marking threads. Reviewed-by: johnc, ysr
author tonyp
date Wed, 19 Jan 2011 09:35:17 -0500
parents f95d63e2154a
children 0fa27f37d4d4
comparison
equal deleted inserted replaced
38:f7752755271f 39:312e25c27bf1
1 /* 1 /*
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
97 "Number of entries in an SATB log buffer.") \ 97 "Number of entries in an SATB log buffer.") \
98 \ 98 \
99 develop(intx, G1SATBProcessCompletedThreshold, 20, \ 99 develop(intx, G1SATBProcessCompletedThreshold, 20, \
100 "Number of completed buffers that triggers log processing.") \ 100 "Number of completed buffers that triggers log processing.") \
101 \ 101 \
102 product(uintx, G1SATBBufferEnqueueingThresholdPercent, 60, \
103 "Before enqueueing them, each mutator thread tries to do some " \
104 "filtering on the SATB buffers it generates. If post-filtering " \
105 "the percentage of retained entries is over this threshold " \
106 "the buffer will be enqueued for processing. A value of 0 " \
107 "specifies that mutator threads should not do such filtering.") \
108 \
102 develop(intx, G1ExtraRegionSurvRate, 33, \ 109 develop(intx, G1ExtraRegionSurvRate, 33, \
103 "If the young survival rate is S, and there's room left in " \ 110 "If the young survival rate is S, and there's room left in " \
104 "to-space, we will allow regions whose survival rate is up to " \ 111 "to-space, we will allow regions whose survival rate is up to " \
105 "S + (1 - S)*X, where X is this parameter (as a fraction.)") \ 112 "S + (1 - S)*X, where X is this parameter (as a fraction.)") \
106 \ 113 \