Skip to content

Commit 3f7052e

Browse files
committedJan 7, 2025
8346868: RISC-V: compiler/sharedstubs tests fail after JDK-8332689
Reviewed-by: rehn, mli
1 parent f119663 commit 3f7052e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/hotspot/cpu/riscv/codeBuffer_riscv.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333

3434
public:
3535
void flush_bundle(bool start_new_bundle) {}
36-
static bool supports_shared_stubs() { return false; }
36+
static bool supports_shared_stubs() { return true; }
3737

3838
#endif // CPU_RISCV_CODEBUFFER_RISCV_HPP

‎test/hotspot/jtreg/compiler/sharedstubs/SharedTrampolineTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
* @requires vm.compiler2.enabled
3232
* @requires vm.opt.TieredCompilation == null
33-
* @requires os.arch=="aarch64" | os.arch=="riscv64"
33+
* @requires os.arch=="aarch64"
3434
* @requires vm.debug
3535
*
3636
* @run driver compiler.sharedstubs.SharedTrampolineTest -XX:-TieredCompilation

0 commit comments

Comments
 (0)