src/hotspot/cpu/x86/stubGenerator_x86_64.cpp
changeset 58103 689a80d20550
parent 57804 9b7b9f16dfd9
child 58462 c6f1226cfb72
--- a/src/hotspot/cpu/x86/stubGenerator_x86_64.cpp	Fri Aug 23 14:22:29 2019 +0200
+++ b/src/hotspot/cpu/x86/stubGenerator_x86_64.cpp	Thu Sep 12 12:12:26 2019 +0200
@@ -1129,10 +1129,7 @@
     __ andptr(rsp, -16);                            // align stack as required by ABI
     BLOCK_COMMENT("call MacroAssembler::debug");
     __ call(RuntimeAddress(CAST_FROM_FN_PTR(address, MacroAssembler::debug64)));
-    __ mov(rsp, r12);                               // restore rsp
-    __ popa();                                      // pop registers (includes r12)
-    __ ret(4 * wordSize);                           // pop caller saved stuff
-
+    __ hlt();
     return start;
   }