Skip to content

Commit 3f50017

Browse files
committed
review comments
1 parent e929c24 commit 3f50017

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/hotspot/cpu/s390/c1_Runtime1_s390.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ uint Runtime1::runtime_blob_current_thread_offset(frame f) {
241241
(float_reg_slots * 8) +
242242
(int_regs_before_r8 * 8);
243243

244-
return z_thread_offset / 8; // Convert to 64-bit words
244+
return z_thread_offset / wordSize;
245245
}
246246

247247
OopMapSet* Runtime1::generate_exception_throw(StubAssembler* sasm, address target, bool has_argument) {

src/hotspot/cpu/s390/frame_s390.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@
574574
metadata_words = sizeof(z_java_abi) >> LogBytesPerWord,
575575
metadata_words_at_bottom = 0,
576576
metadata_words_at_top = sizeof(z_java_abi) >> LogBytesPerWord,
577+
// in bytes
577578
frame_alignment = 8,
578579
// size, in words, of maximum shift in frame position due to alignment
579580
align_wiggle = 0

0 commit comments

Comments
 (0)