8295414: [Aarch64] C2: assert(false) failed: bad AD file

Reviewed-by: thartmann
Backport-of: d3eba859f9c87465a8f1c0dfd6dd5aef368d5853
This commit is contained in:
Xiaolin Zheng 2022-11-23 02:58:59 +00:00 committed by Fei Yang
parent 8a105ca49f
commit 2adc3e14aa
2 changed files with 7 additions and 1 deletions

View File

@ -5105,7 +5105,7 @@ operand iRegP()
match(iRegP_R0);
//match(iRegP_R2);
//match(iRegP_R4);
//match(iRegP_R5);
match(iRegP_R5);
match(thread_RegP);
op_cost(0);
format %{ %}

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020, Red Hat, Inc. All rights reserved.
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -24,10 +25,15 @@
/**
* @test
* @bug 8253566
* @bug 8295414
* @summary clazz.isAssignableFrom will return false for interface implementors
* @requires vm.compiler2.enabled
*
* @run main/othervm -XX:-BackgroundCompilation TestSubTypeCheckMacroTrichotomy
* @run main/othervm -XX:-BackgroundCompilation
* -XX:+IgnoreUnrecognizedVMOptions -XX:+StressReflectiveCode
* -XX:+UnlockDiagnosticVMOptions -XX:+ExpandSubTypeCheckAtParseTime
* -XX:-TieredCompilation -XX:CompileThreshold=100 TestSubTypeCheckMacroTrichotomy
*
*/