--- old/src/hotspot/cpu/ppc/vm_version_ppc.cpp 2018-12-11 18:43:44.361261882 -0600 +++ new/src/hotspot/cpu/ppc/vm_version_ppc.cpp 2018-12-11 18:43:43.751282073 -0600 @@ -134,11 +134,18 @@ if (FLAG_IS_DEFAULT(UseCountTrailingZerosInstructionsPPC64)) { FLAG_SET_ERGO(bool, UseCountTrailingZerosInstructionsPPC64, true); } + if (FLAG_IS_DEFAULT(UseCharacterCompareIntrinsics)) { + FLAG_SET_ERGO(bool, UseCharacterCompareIntrinsics, true); + } } else { if (UseCountTrailingZerosInstructionsPPC64) { warning("UseCountTrailingZerosInstructionsPPC64 specified, but needs at least Power9."); FLAG_SET_DEFAULT(UseCountTrailingZerosInstructionsPPC64, false); } + if (UseCharacterCompareIntrinsics) { + warning("UseCharacterCompareIntrinsics specified, but needs at least Power9."); + FLAG_SET_DEFAULT(UseCharacterCompareIntrinsics, false); + } } #endif