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

Reviewed-by: kvn, chagedorn, aph
This commit is contained in:
Dean Long 2022-10-20 21:24:36 +00:00
parent 028e8b3d5e
commit d3eba859f9
2 changed files with 7 additions and 1 deletions

View File

@ -4904,7 +4904,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
*
*/