[aarch64-port-dev ] RFR: 8170188: jtreg compiler/types/TestMeetIncompatibleInterfaceArrays.java causes JVM crash

Sergey Nazarkin snazarkin at azul.com
Tue Nov 22 15:29:44 UTC 2016


Hi!

please review the fix [1] to solve JVM crash when compiler/types/TestMeetIncompatibleInterfaceArrays.java  test is executed. 

The crash happens at ANDS generation procedure since imm encoder fails to convert zero value.  And it has to fail according ARMv8 arch ref manual. 

The patch detects invalid case and replace ANDS(Rd, Rn, imm) with ANDS(RD, Rn, ZeroReg)

[1] http://cr.openjdk.java.net/~snazarki/8170188/
[2] https://bugs.openjdk.java.net/browse/JDK-8170188

Sergey






More information about the aarch64-port-dev mailing list