From 1818efe9063f01f47658080a8a8ebeba839e85da Mon Sep 17 00:00:00 2001 From: George Adams Date: Tue, 26 May 2026 11:22:40 +0100 Subject: [PATCH 1/2] 8385425: AArch64: Comment re set_and_get_current_sve_vector_length() is misleading --- src/hotspot/cpu/aarch64/vm_version_aarch64.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp b/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp index c67455e6b79fd..76dba8b408ed9 100644 --- a/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp +++ b/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp @@ -70,9 +70,9 @@ class VM_Version : public Abstract_VM_Version { // Read additional info using OS-specific interfaces static void get_os_cpu_info(); - // Sets the SVE length and returns a new actual value or negative on error. - // If the len is larger than the system largest supported SVE vector length, - // the function sets the largest supported value. + // Set the SVE vector length to len. If the vector length cannot be + // changed to len, set the length to the largest possible value. + // Return the length that will be used, or -ve if an error occurred. static int set_and_get_current_sve_vector_length(int len); static int get_current_sve_vector_length(); From 16acb65c1f3619e79e5045b978756f4652dd9daf Mon Sep 17 00:00:00 2001 From: George Adams Date: Tue, 26 May 2026 16:01:16 +0100 Subject: [PATCH 2/2] Retrigger CI