AArch64: temporary fix for trig and log functions in jdk11u

Andrew Dinn adinn at redhat.com
Tue Sep 25 08:49:54 UTC 2018

Hi Rob,

There are two critical AArch64 bugs in progress in jdk/jdk which are
also present in jdk11u (JDK-8210858 and JDK-8210461). The generated
machine code for maths intrinsics has been shown to contain bugs.

The first bug has been fixed in jdk12 and we are pretty confident that
the code has now been properly tested and is correct. the second has a
proposed patch which is still being reviewed.

We resolved this issue in the jdk11u-aarch64 releases built from our
downstream repo with the following patches:



i.e. we disabled publishing of the generated assembler intrinsics.

Rather than wait for a backport of the upstream fixes would it be
possible to apply this patch to jdk11u now? That would allow other Linux
distros to cherry-pick this patch for their own jdk11u releases. This is
quite urgent as we want to be sure those distros get a chance to push an
updated release before the next official jdk11u version is ready.

I am not sure where this request sits as regards the current guidelines
[1] for approving fixes nor what would be needed by way of JIRA to to
cover this patch so your advice as to how we can proceed here would be
very welcome.

[1 http://openjdk.java.net/projects/jdk-updates/approval.html


Andrew Dinn
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander

More information about the jdk-updates-dev mailing list