Skip to content
Permalink
Browse files

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

…uction"

Reviewed-by: aph
  • Loading branch information
Pengfei Li committed Mar 23, 2020
1 parent 36af90a commit 618bacec2e34da31eb0099a181daedf626898a26
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
@@ -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;
}

0 comments on commit 618bace

Please sign in to comment.