Skip to content

Commit 262b83c

Browse files
zifeihanRealFYang
authored andcommitted
8322583: RISC-V: Enable fast class initialization checks
Backport-of: 5235cc987d8c4455622acda947bed7321086a385
1 parent 0927587 commit 262b83c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hotspot/cpu/riscv/vm_version_riscv.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ class VM_Version : public Abstract_VM_Version {
199199
static void initialize_cpu_information();
200200

201201
constexpr static bool supports_stack_watermark_barrier() { return true; }
202+
203+
// RISCV64 supports fast class initialization checks
204+
static bool supports_fast_class_init_checks() { return true; }
202205
};
203206

204207
#endif // CPU_RISCV_VM_VERSION_RISCV_HPP

0 commit comments

Comments
 (0)