-
Bug
-
Resolution: Fixed
-
P3
-
17, 21, 23, 24
-
b27
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8346189 | 21.0.7 | Kerem Kat | P3 | Resolved | Fixed | master |
JDK-8346487 | 17.0.15 | Kerem Kat | P3 | Resolved | Fixed | master |
int VM_Version::get_current_sve_vector_length() {
assert(VM_Version::supports_sve(), "should not call this");
return prctl(PR_SVE_GET_VL);
}
That code returns `-1` when `prctl` is disallowed, which JVM then blindly interprets as vector length:
if (UseSVE > 0) {
_initial_sve_vector_length = get_current_sve_vector_length();
}
...leading to SIGILL.
Workaround: -XX:UseSVE=0
- backported by
-
JDK-8346189 AArch64: VM crashes with SIGILL when prctl is disallowed
- Resolved
-
JDK-8346487 AArch64: VM crashes with SIGILL when prctl is disallowed
- Resolved
- relates to
-
JDK-8231441 AArch64: Initial SVE backend support
- Resolved
- links to
-
Commit(master) openjdk/jdk17u-dev/3f1ba564
-
Commit(master) openjdk/jdk21u-dev/21b76f3f
-
Commit(master) openjdk/jdk/3c60f0b2
-
Review(master) openjdk/jdk17u-dev/3111
-
Review(master) openjdk/jdk21u-dev/1222
-
Review(master) openjdk/jdk23u/231
-
Review(master) openjdk/jdk/22479