diff --git a/src/hotspot/cpu/aarch64/aarch64.ad b/src/hotspot/cpu/aarch64/aarch64.ad index ce6e36b5e6b..40b57e7fb85 100644 --- a/src/hotspot/cpu/aarch64/aarch64.ad +++ b/src/hotspot/cpu/aarch64/aarch64.ad @@ -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 %{ %} diff --git a/test/hotspot/jtreg/compiler/types/TestSubTypeCheckMacroTrichotomy.java b/test/hotspot/jtreg/compiler/types/TestSubTypeCheckMacroTrichotomy.java index 54a5a0fc945..ef31bd30bb6 100644 --- a/test/hotspot/jtreg/compiler/types/TestSubTypeCheckMacroTrichotomy.java +++ b/test/hotspot/jtreg/compiler/types/TestSubTypeCheckMacroTrichotomy.java @@ -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 * */