8387580: [S390x] OpenJDK build crashes with SIGSEGV in HashMap::resize()

Reviewed-by: amitkumar, hdhiman
This commit is contained in:
Vladimir Petko 2026-07-10 07:07:20 +00:00 committed by Amit Kumar
parent 3e2366e7f5
commit 978dfecb65

View File

@ -1055,7 +1055,7 @@ void TemplateTable::lstore() {
void TemplateTable::fstore() {
transition(ftos, vtos);
locals_index(Z_R1_scratch);
__ freg2mem_opt(Z_ftos, faddress(_masm, Z_R1_scratch));
__ freg2mem_opt(Z_ftos, faddress(_masm, Z_R1_scratch), false);
}
void TemplateTable::dstore() {
@ -3506,7 +3506,7 @@ void TemplateTable::fast_xaccess(TosState state) {
__ verify_oop(Z_tos);
break;
case ftos:
__ mem2freg_opt(Z_ftos, field);
__ mem2freg_opt(Z_ftos, field, false);
break;
default:
ShouldNotReachHere();