4539N/A * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. 342N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 342N/A * This code is free software; you can redistribute it and/or modify it 342N/A * under the terms of the GNU General Public License version 2 only, as 342N/A * published by the Free Software Foundation. 342N/A * This code is distributed in the hope that it will be useful, but WITHOUT 342N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 342N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 342N/A * version 2 for more details (a copy is included in the LICENSE file that 342N/A * accompanied this code). 342N/A * You should have received a copy of the GNU General Public License version 342N/A * 2 along with this work; if not, write to the Free Software Foundation, 342N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1111N/A * The value of the update buffer queue length falls into one of 3 zones: 1111N/A * green, yellow, red. If the value is in [0, green) nothing is 1111N/A * done, the buffers are left unprocessed to enable the caching effect of the 1111N/A * dirtied cards. In the yellow zone [green, yellow) the concurrent refinement 1111N/A * threads are gradually activated. In [yellow, red) all threads are 1111N/A * running. If the length becomes red (max queue length) the mutators start 1282N/A * There are some interesting cases (when G1UseAdaptiveConcRefinement 1111N/A * 1) green = yellow = red = 0. In this case the mutator will process all 1111N/A * buffers. Except for those that are created by the deferred updates 1111N/A * machinery during a collection. 1111N/A * 2) green = 0. Means no caching. Can be a good way to minimize the 1111N/A * amount of time spent updating rsets during a collection. 4539N/A // We delay the refinement of 'hot' cards using the hot card cache. 1111N/A // Reset the threshold step value based of the current zone boundaries. 342N/A void init();
// Accomplish some initialization that has to wait. 794N/A // Iterate over the conc refine threads 1879N/A#
endif // SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTG1REFINE_HPP