Path: blob/master/src/hotspot/share/gc/parallel/parallel_globals.hpp
41149 views
/*1* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*22*/2324#ifndef SHARE_GC_PARALLEL_PARALLEL_GLOBALS_HPP25#define SHARE_GC_PARALLEL_PARALLEL_GLOBALS_HPP2627#define GC_PARALLEL_FLAGS(develop, \28develop_pd, \29product, \30product_pd, \31notproduct, \32range, \33constraint) \34product(uintx, HeapMaximumCompactionInterval, 20, \35"How often should we maximally compact the heap (not allowing " \36"any dead space)") \37range(0, max_uintx) \38\39product(uintx, HeapFirstMaximumCompactionCount, 3, \40"The collection count for the first maximum compaction") \41range(0, max_uintx) \42\43product(bool, UseMaximumCompactionOnSystemGC, true, \44"Use maximum compaction in the Parallel Old garbage collector " \45"for a system GC") \46\47product(size_t, ParallelOldDeadWoodLimiterMean, 50, \48"The mean used by the parallel compact dead wood " \49"limiter (a number between 0-100)") \50range(0, 100) \51\52product(size_t, ParallelOldDeadWoodLimiterStdDev, 80, \53"The standard deviation used by the parallel compact dead wood " \54"limiter (a number between 0-100)") \55range(0, 100) \56\57develop(uintx, GCWorkerDelayMillis, 0, \58"Delay in scheduling GC workers (in milliseconds)") \59\60product(bool, PSChunkLargeArrays, true, \61"Process large arrays in chunks")6263// end of GC_PARALLEL_FLAGS6465#endif // SHARE_GC_PARALLEL_PARALLEL_GLOBALS_HPP666768