Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
8295414: [Aarch64] C2: assert(false) failed: bad AD file
Browse files Browse the repository at this point in the history
Reviewed-by: thartmann
Backport-of: d3eba859f9c87465a8f1c0dfd6dd5aef368d5853
  • Loading branch information
zhengxiaolinX authored and RealFYang committed Nov 23, 2022
1 parent 8a105ca commit 2adc3e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/aarch64/aarch64.ad
Expand Up @@ -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 %{ %}
Expand Down
@@ -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
Expand All @@ -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
*
*/

Expand Down

1 comment on commit 2adc3e1

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.