Skip to content

Commit 5235cc9

Browse files
zifeihanRealFYang
authored andcommitted
8322583: RISC-V: Enable fast class initialization checks
Reviewed-by: rehn, fyang, fjiang
1 parent 3b1e56a commit 5235cc9

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
@@ -209,6 +209,9 @@ class VM_Version : public Abstract_VM_Version {
209209
constexpr static bool supports_stack_watermark_barrier() { return true; }
210210

211211
static bool supports_on_spin_wait() { return UseZihintpause; }
212+
213+
// RISCV64 supports fast class initialization checks
214+
static bool supports_fast_class_init_checks() { return true; }
212215
};
213216

214217
#endif // CPU_RISCV_VM_VERSION_RISCV_HPP

0 commit comments

Comments
 (0)