Skip to content

Commit 6469c30

Browse files
committed
8295414: [Aarch64] C2: assert(false) failed: bad AD file
Backport-of: d3eba859f9c87465a8f1c0dfd6dd5aef368d5853
1 parent 26f0348 commit 6469c30

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/hotspot/cpu/aarch64/aarch64.ad

+1-1
Original file line numberDiff line numberDiff line change
@@ -4922,7 +4922,7 @@ operand iRegP()
49224922
match(iRegP_R0);
49234923
//match(iRegP_R2);
49244924
//match(iRegP_R4);
4925-
//match(iRegP_R5);
4925+
match(iRegP_R5);
49264926
match(thread_RegP);
49274927
op_cost(0);
49284928
format %{ %}

test/hotspot/jtreg/compiler/types/TestSubTypeCheckMacroTrichotomy.java

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2020, Red Hat, Inc. All rights reserved.
3+
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
34
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
45
*
56
* This code is free software; you can redistribute it and/or modify it
@@ -24,10 +25,15 @@
2425
/**
2526
* @test
2627
* @bug 8253566
28+
* @bug 8295414
2729
* @summary clazz.isAssignableFrom will return false for interface implementors
2830
* @requires vm.compiler2.enabled
2931
*
3032
* @run main/othervm -XX:-BackgroundCompilation TestSubTypeCheckMacroTrichotomy
33+
* @run main/othervm -XX:-BackgroundCompilation
34+
* -XX:+IgnoreUnrecognizedVMOptions -XX:+StressReflectiveCode
35+
* -XX:+UnlockDiagnosticVMOptions -XX:+ExpandSubTypeCheckAtParseTime
36+
* -XX:-TieredCompilation -XX:CompileThreshold=100 TestSubTypeCheckMacroTrichotomy
3137
*
3238
*/
3339

0 commit comments

Comments
 (0)