-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 21, 23
-
b05
-
riscv
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8323098 | 21.0.3 | Gui Cao | P4 | Resolved | Fixed | b01 |
JDK-8323441 | 17.0.11 | Gui Cao | P4 | Resolved | Fixed | b01 |
```
diff --git a/src/hotspot/cpu/riscv/vm_version_riscv.hpp b/src/hotspot/cpu/riscv/vm_version_riscv.hpp
index 3c769ebfe2a..c0737996106 100644
--- a/src/hotspot/cpu/riscv/vm_version_riscv.hpp
+++ b/src/hotspot/cpu/riscv/vm_version_riscv.hpp
@@ -205,6 +205,8 @@ class VM_Version : public Abstract_VM_Version {
static void initialize();
static void initialize_cpu_information();
+ static bool supports_fast_class_init_checks() { return true; }
+
constexpr static bool supports_stack_watermark_barrier() { return true; }
static bool supports_on_spin_wait() { return UseZihintpause; }
```
- backported by
-
JDK-8323098 RISC-V: Enable fast class initialization checks
- Resolved
-
JDK-8323441 RISC-V: Enable fast class initialization checks
- Resolved
- relates to
-
JDK-8320276 Improve class initialization barrier in TemplateTable::_new
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/262b83c8
-
Commit openjdk/jdk21u-dev/4bdda4b5
-
Commit openjdk/jdk/5235cc98
-
Review openjdk/jdk17u-dev/2110
-
Review openjdk/jdk21u-dev/132
-
Review openjdk/jdk/17192