8241091: AArch64: "bad AD file" with VM option "-XX:-UsePopCountInstruction"

Reviewed-by: aph
This commit is contained in:
Pengfei Li 2020-03-23 08:37:45 +08:00
parent 36af90acc0
commit 618bacec2e

View File

@ -425,6 +425,11 @@ void VM_Version::get_processor_features() {
}
if (FLAG_IS_DEFAULT(UsePopCountInstruction)) {
FLAG_SET_DEFAULT(UsePopCountInstruction, true);
}
if (!UsePopCountInstruction) {
warning("UsePopCountInstruction is always enabled on this CPU");
UsePopCountInstruction = true;
}