annotate src/share/vm/runtime/commandLineFlagConstraintsCompiler.hpp @ 12857:cc42cd3f45d0

Revert to main OpenJDK repository
author Greg Lewis <glewis@eyesbeyond.com>
date Sat, 07 Oct 2017 16:42:07 -0700
parents 833f88cac52b
children
rev   line source
gziemski@8569 1 /*
gziemski@8569 2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
gziemski@8569 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
gziemski@8569 4 *
gziemski@8569 5 * This code is free software; you can redistribute it and/or modify it
gziemski@8569 6 * under the terms of the GNU General Public License version 2 only, as
gziemski@8569 7 * published by the Free Software Foundation.
gziemski@8569 8 *
gziemski@8569 9 * This code is distributed in the hope that it will be useful, but WITHOUT
gziemski@8569 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
gziemski@8569 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
gziemski@8569 12 * version 2 for more details (a copy is included in the LICENSE file that
gziemski@8569 13 * accompanied this code).
gziemski@8569 14 *
gziemski@8569 15 * You should have received a copy of the GNU General Public License version
gziemski@8569 16 * 2 along with this work; if not, write to the Free Software Foundation,
gziemski@8569 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
gziemski@8569 18 *
gziemski@8569 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
gziemski@8569 20 * or visit www.oracle.com if you need additional information or have any
gziemski@8569 21 * questions.
gziemski@8569 22 *
gziemski@8569 23 */
gziemski@8569 24
gziemski@8569 25 #ifndef SHARE_VM_RUNTIME_COMMANDLINEFLAGCONSTRAINTSCOMPILER_HPP
gziemski@8569 26 #define SHARE_VM_RUNTIME_COMMANDLINEFLAGCONSTRAINTSCOMPILER_HPP
gziemski@8569 27
gziemski@8569 28 #include "runtime/globals.hpp"
gziemski@8569 29 #include "utilities/globalDefinitions.hpp"
gziemski@8569 30
gziemski@8569 31 /*
gziemski@8569 32 * Here we have compiler arguments constraints functions, which are called automatically
gziemski@8569 33 * whenever flag's value changes. If the constraint fails the function should return
gziemski@8569 34 * an appropriate error value.
gziemski@8569 35 */
gziemski@8569 36
gziemski@8839 37 Flag::Error AliasLevelConstraintFunc(intx value, bool verbose);
gziemski@8569 38
gziemski@8839 39 Flag::Error CICompilerCountConstraintFunc(intx value, bool verbose);
roland@8742 40
zmajo@9114 41 Flag::Error AllocatePrefetchDistanceConstraintFunc(intx value, bool verbose);
zmajo@9114 42
zmajo@9114 43 Flag::Error AllocatePrefetchInstrConstraintFunc(intx value, bool verbose);
zmajo@9114 44
zmajo@9114 45 Flag::Error AllocatePrefetchStepSizeConstraintFunc(intx value, bool verbose);
zmajo@9114 46
zmajo@9114 47 Flag::Error CompileThresholdConstraintFunc(intx value, bool verbose);
zmajo@9114 48
zmajo@9114 49 Flag::Error OnStackReplacePercentageConstraintFunc(intx value, bool verbose);
zmajo@9114 50
zmajo@9114 51 Flag::Error CodeCacheSegmentSizeConstraintFunc(uintx value, bool verbose);
zmajo@9114 52
zmajo@9114 53 Flag::Error CompilerThreadPriorityConstraintFunc(intx value, bool verbose);
zmajo@9114 54
zmajo@9114 55 Flag::Error CodeEntryAlignmentConstraintFunc(intx value, bool verbose);
zmajo@9114 56
zmajo@9114 57 Flag::Error OptoLoopAlignmentConstraintFunc(intx value, bool verbose);
zmajo@9114 58
zmajo@9114 59 Flag::Error ArraycopyDstPrefetchDistanceConstraintFunc(uintx value, bool verbose);
zmajo@9114 60
zmajo@9114 61 Flag::Error ArraycopySrcPrefetchDistanceConstraintFunc(uintx value, bool verbose);
zmajo@9114 62
zmajo@9114 63 Flag::Error TypeProfileLevelConstraintFunc(uintx value, bool verbose);
zmajo@9114 64
shade@10444 65 Flag::Error InitArrayShortSizeConstraintFunc(intx value, bool verbose);
shade@10444 66
zmajo@9114 67 #ifdef COMPILER2
zmajo@9114 68 Flag::Error InteriorEntryAlignmentConstraintFunc(intx value, bool verbose);
zmajo@9114 69
zmajo@9114 70 Flag::Error NodeLimitFudgeFactorConstraintFunc(intx value, bool verbose);
zmajo@9114 71 #endif
zmajo@9114 72
gziemski@8569 73 #endif /* SHARE_VM_RUNTIME_COMMANDLINEFLAGCONSTRAINTSCOMPILER_HPP */