Skip to content

Commit 6cd63fb

Browse files
author
duke
committed
Backport 3f7052ed7af89efd1c6977df0b4f3b95fcfec764
1 parent 8c455fd commit 6cd63fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hotspot/cpu/riscv/codeBuffer_riscv.hpp

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)