JDK-8165673 : AArch64: Fix JNI floating point argument handling
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2016-09-08
  • Updated: 2021-02-01
  • Resolved: 2016-09-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9 Other
9 b143Fixed openjdk8u292Fixed
Related Reports
Relates :  
Description
The jtreg test failure of

hotspot/test/compiler/floatingpoint/Test15FloatJNIArgs.java

is caused by incorrect floating point argument handling in JNI native wrapper.

The following patch:

http://people.linaro.org/~ningsheng.jian/jni-fix/webrev.00/

can fix this bug.

I also updated the test case (and renamed to TestFloatJNIArgs.java),
which exposes more issues in jni floating point args handling. (Need
to update the fake bug-id in the test java source, as I don't have
access right to JBS). Those issues can also be fixed by the patch.

Could someone please help to review and process the patch?
Comments
Review link: http://mail.openjdk.java.net/pipermail/aarch64-port-dev/2016-September/003754.html webrev: http://cr.openjdk.java.net/~adinn/8165673/webrev.00/
28-09-2016