RFR (S): 8191129 - AARCH64: Invalid value passed to critical JNI function

jamsheed jamsheed.c.m at oracle.com
Thu Nov 23 14:32:26 UTC 2017


Hi Dmitry,

Looks good, thank you for making changes.

Best regards,

Jamsheed


On Wednesday 22 November 2017 08:28 PM, Dmitry Chuyko wrote:
> Hello,
>
> Please review a fix for JNI Critical test failures and crashes on 
> aarch64, it includes common tests changes.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8191129
> webrev: http://cr.openjdk.java.net/~dchuyko/8191129/webrev.00/
>
> 1. Platform specific part
>
> Original fix from JDK-8167409 was imported, it makes failures more 
> deterministic: Unimplemented() or ShouldNotReachHere(). Implementation 
> of the feature is not complete so another change is to forcibly set 
> CriticalJNINatives to false during initialization.
>
> 2. Common part (tests)
>
> Tests in criticalnatives read CriticalJNINatives flag using WhiteBox 
> and ignore values check if the flag is false.
>
> Both tests pass on x86_64 and aarch64.
>
> -Dmitry
>



More information about the hotspot-compiler-dev mailing list