JDK-8273825 : TestIRMatching.java fails after JDK-8266550
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: generic
  • Submitted: 2021-09-15
  • Updated: 2022-05-06
  • Resolved: 2021-09-20
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 18
18 b16Fixed
Related Reports
Relates :  
Description
testlibrary_tests/ir_framework/tests/TestIRMatching.java fails on Aarch64 after JDK-8266550 which changed some default regexes.
Comments
The fix is integrated in jdk-18+16-870.
20-09-2021

Changeset: 6f3e40c1 Author: Christian Hagedorn <chagedorn@openjdk.org> Date: 2021-09-20 12:56:08 +0000 URL: https://git.openjdk.java.net/jdk/commit/6f3e40c16db899f1add67b997dede17eeb83418f
20-09-2021

Thanks Martin!
16-09-2021

TestIRMatching failed with one or more exceptions: Constraint BadFailOnConstraint, Class CheckCastArray, Method array(), Rule 2 with "failOn", regex: 1 should have been matched: expected true, was false java.lang.RuntimeException: Constraint BadFailOnConstraint, Class CheckCastArray, Method array(), Rule 2 with "failOn", regex: 1 should have been matched: expected true, was false
16-09-2021

> PPC64: > Compilation(s) of failed match(es): test1 should have an IR fail which is expected in the test. Is TestIRMatching failing and if so what is the exception message? > s390 is now maintained by IBM (we don't build 18) Okay
16-09-2021

PPC64: Compilation(s) of failed match(es): >>> Compilation of public void ir_framework.tests.AndOr1.test1(int): PrintIdeal: 10 Parm === 3 [[ 37 ]] Parm0: ir_framework/tests/AndOr1:NotNull * Oop:ir_framework/tests/AndOr1:NotNull * !jvms: AndOr1::test1 @ bci:-1 (line 393) 7 Parm === 3 [[ 37 ]] Memory Memory: @BotPTR *+bot, idx=Bot; !jvms: AndOr1::test1 @ bci:-1 (line 393) 6 Parm === 3 [[ 37 ]] I_O !jvms: AndOr1::test1 @ bci:-1 (line 393) 5 Parm === 3 [[ 37 ]] Control !jvms: AndOr1::test1 @ bci:-1 (line 393) 38 Proj === 37 [[ 43 ]] #0 !jvms: AndOr1::test1 @ bci:1 (line 393) 3 Start === 3 0 [[ 3 5 6 7 8 9 10 ]] #{0:control, 1:abIO, 2:memory, 3:rawptr:BotPTR, 4:return_address, 5:ir_framework/tests/AndOr1:NotNull *, 6:int} 37 CallStaticJava === 5 6 7 8 1 ( 10 1 1 ) [[ 38 39 40 ]] # Static ir_framework.tests.AndOr1::dontInline void ( ir_framework/tests/AndOr1:NotNull * ) AndOr1::test1 @ bci:1 (line 393) !jvms: AndOr1::test1 @ bci:1 (line 393) 43 Catch === 38 39 [[ 44 45 ]] !jvms: AndOr1::test1 @ bci:1 (line 393) 48 CreateEx === 45 39 [[ 52 ]] #java/lang/Throwable:NotNull * Oop:java/lang/Throwable:NotNull * !jvms: AndOr1::test1 @ bci:1 (line 393) 45 CatchProj === 43 [[ 52 48 ]] #1@bci -1 !jvms: AndOr1::test1 @ bci:1 (line 393) 9 Parm === 3 [[ 52 51 ]] ReturnAdr !jvms: AndOr1::test1 @ bci:-1 (line 393) 8 Parm === 3 [[ 52 51 37 ]] FramePtr !jvms: AndOr1::test1 @ bci:-1 (line 393) 40 Proj === 37 [[ 52 51 ]] #2 Memory: @BotPTR *+bot, idx=Bot; !jvms: AndOr1::test1 @ bci:1 (line 393) 39 Proj === 37 [[ 52 43 51 48 ]] #1 !jvms: AndOr1::test1 @ bci:1 (line 393) 44 CatchProj === 43 [[ 51 ]] #0@bci -1 !jvms: AndOr1::test1 @ bci:1 (line 393) 52 Rethrow === 45 39 40 8 9 exception 48 [[ 0 ]] 51 Return === 44 39 40 8 9 [[ 0 ]] 0 Root === 0 51 52 [[ 0 1 3 ]] inner s390 is now maintained by IBM (we don't build 18)
16-09-2021

Hi [~mdoerr], is PPC or s390 also affected?
16-09-2021

ILW = one test fails = LHH = P4
15-09-2021