[aarch64-port-dev ] RFR(S): 8241091: AArch64: "bad AD file" with VM option "-XX:-UsePopCountInstruction"

Andrew Haley aph at redhat.com
Fri Mar 20 09:55:25 UTC 2020


On 3/20/20 8:40 AM, Pengfei Li wrote:
> Hi Andrew,
> 
>> We could go either way, but there's no point in disabling popcount on
>> AArch64. So [2], but please produce an error message if "-
>> UsePopCountInstruction" is used.
> 
> My understanding of your "error message" is a warning message instead of a hard error, as current "bad AD file" is already a hard error.
> 
> The general option UsePopCountInstruction is false by default. In my updated webrev [1], the default value is changed to true for AArch64 and a warning is printed if it's turned off manually.
> 
> $ java Foo
> 219504
> $ java -XX:-UsePopCountInstruction Foo
> OpenJDK 64-Bit Server VM warning: UsePopCountInstruction is always enabled on this CPU
> 219504
> 
> Jtreg tier1 passed. Is this ok?
> 
> [1] http://cr.openjdk.java.net/~pli/rfr/8241091/webrev.02/

Yes, thanks.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-compiler-dev mailing list