From bfa060f098e477fb45bc466f87fd66842161b73f Mon Sep 17 00:00:00 2001 From: Zhengyu Gu Date: Wed, 11 Nov 2020 19:12:55 +0000 Subject: [PATCH] 8256051: nmethod_entry_barrier stub miscalculates xmm spill size on x86_32 Reviewed-by: shade --- src/hotspot/cpu/x86/stubGenerator_x86_32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp b/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp index c0b2219dcec..4bc3b0340b5 100644 --- a/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp +++ b/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp @@ -3669,7 +3669,7 @@ class StubGenerator: public StubCodeGenerator { __ pusha(); // xmm0 and xmm1 may be used for passing float/double arguments - const int xmm_size = wordSize * 2; + const int xmm_size = wordSize * 4; const int xmm_spill_size = xmm_size * 2; __ subptr(rsp, xmm_spill_size); __ movdqu(Address(rsp, xmm_size * 1), xmm1);