From 3f500175f47be76d7ab6f987b30ad3c19c1c8edd Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Thu, 11 Jun 2026 18:11:27 +0000 Subject: [PATCH] review comments --- src/hotspot/cpu/s390/c1_Runtime1_s390.cpp | 2 +- src/hotspot/cpu/s390/frame_s390.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hotspot/cpu/s390/c1_Runtime1_s390.cpp b/src/hotspot/cpu/s390/c1_Runtime1_s390.cpp index 05071d4a7c0..9575afe47df 100644 --- a/src/hotspot/cpu/s390/c1_Runtime1_s390.cpp +++ b/src/hotspot/cpu/s390/c1_Runtime1_s390.cpp @@ -241,7 +241,7 @@ uint Runtime1::runtime_blob_current_thread_offset(frame f) { (float_reg_slots * 8) + (int_regs_before_r8 * 8); - return z_thread_offset / 8; // Convert to 64-bit words + return z_thread_offset / wordSize; } OopMapSet* Runtime1::generate_exception_throw(StubAssembler* sasm, address target, bool has_argument) { diff --git a/src/hotspot/cpu/s390/frame_s390.hpp b/src/hotspot/cpu/s390/frame_s390.hpp index 6763ad78613..a27410142dd 100644 --- a/src/hotspot/cpu/s390/frame_s390.hpp +++ b/src/hotspot/cpu/s390/frame_s390.hpp @@ -574,6 +574,7 @@ metadata_words = sizeof(z_java_abi) >> LogBytesPerWord, metadata_words_at_bottom = 0, metadata_words_at_top = sizeof(z_java_abi) >> LogBytesPerWord, + // in bytes frame_alignment = 8, // size, in words, of maximum shift in frame position due to alignment align_wiggle = 0