--- /dev/null 2019-11-19 22:05:02.069813242 -0800 +++ new/src/hotspot/cpu/ppc/globals_ppc.cpp 2020-04-05 21:35:46.308016625 -0700 @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + * + */ + +#include "precompiled.hpp" +#include "runtime/flags/jvmFlagConstraintsCompiler.hpp" + +// -- Define all JVM flags that have been declared in cpu/ppc/globals_ppc.hpp + +// Add JVMFlag::ARCH to the JVMFlag::attr() for all flags defined in this file +#ifdef FLAG_COMMON_ATTRS +#undef FLAG_COMMON_ATTRS +#endif +#define FLAG_COMMON_ATTRS JVMFlag::ARCH + +#include "globals_ppc.hpp" +#include "runtime/flags/jvmFlag.inline.hpp" +DEFN_PRODUCT_FLAG(PowerArchitecturePPC64); +DEFN_PRODUCT_FLAG(SuperwordUseVSX); +DEFN_PRODUCT_FLAG(ReoptimizeCallSequences); +DEFN_PRODUCT_FLAG(DSCR_PPC64); +DEFN_PRODUCT_FLAG(DSCR_DPFD_PPC64); +DEFN_PRODUCT_FLAG(DSCR_URG_PPC64); +DEFN_PRODUCT_FLAG(UseLoadInstructionsForStackBangingPPC64); +DEFN_PRODUCT_FLAG(UseCountLeadingZerosInstructionsPPC64); +DEFN_PRODUCT_FLAG(UseCountTrailingZerosInstructionsPPC64); +DEFN_PRODUCT_FLAG(UseExtendedLoadAndReserveInstructionsPPC64); +DEFN_PRODUCT_FLAG(UseRotateAndMaskInstructionsPPC64); +DEFN_PRODUCT_FLAG(UseStaticBranchPredictionInCompareAndSwapPPC64); +DEFN_PRODUCT_FLAG(UseStaticBranchPredictionForUncommonPathsPPC64); +DEFN_PRODUCT_FLAG(UsePower6SchedulerPPC64); +DEFN_PRODUCT_FLAG(InsertEndGroupPPC64); +DEFN_PRODUCT_FLAG(UseSIGTRAP); +DEFN_PRODUCT_FLAG(TrapBasedICMissChecks); +DEFN_PRODUCT_FLAG(TrapBasedNotEntrantChecks); +DEFN_PRODUCT_FLAG(TraceTraps); +DEFN_PRODUCT_FLAG(ZapMemory); +DEFN_PRODUCT_FLAG(UseRTMLocking); +DEFN_PRODUCT_FLAG(UseRTMForStackLocks); +DEFN_PRODUCT_FLAG(UseRTMDeopt); +DEFN_PRODUCT_FLAG(RTMRetryCount); DEFN_PRODUCT_RANGE(RTMRetryCount); +DEFN_PRODUCT_FLAG(RTMSpinLoopCount); DEFN_PRODUCT_RANGE(RTMSpinLoopCount); +DEFN_PRODUCT_FLAG(RTMAbortThreshold); DEFN_PRODUCT_RANGE(RTMAbortThreshold); +DEFN_PRODUCT_FLAG(RTMLockingThreshold); DEFN_PRODUCT_RANGE(RTMLockingThreshold); +DEFN_PRODUCT_FLAG(RTMAbortRatio); DEFN_PRODUCT_RANGE(RTMAbortRatio); +DEFN_PRODUCT_FLAG(RTMTotalCountIncrRate); DEFN_PRODUCT_RANGE(RTMTotalCountIncrRate); DEFN_PRODUCT_CONSTRAINT(RTMTotalCountIncrRate); +DEFN_PRODUCT_FLAG(RTMLockingCalculationDelay); +DEFN_PRODUCT_FLAG(UseRTMXendForLockBusy);