diff src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 3509:28ba2439034f

recompile upon deoptimizations that are caused by runtime exceptions
author Lukas Stadler <lukas.stadler@jku.at>
date Mon, 08 Aug 2011 18:24:21 +0200
parents be4ca325525a
children 04b9a2566eec
line wrap: on
line diff
--- a/src/cpu/x86/vm/sharedRuntime_x86_64.cpp	Mon Aug 08 18:00:16 2011 +0200
+++ b/src/cpu/x86/vm/sharedRuntime_x86_64.cpp	Mon Aug 08 18:24:21 2011 +0200
@@ -2642,7 +2642,7 @@
 
   int jmp_uncommon_trap_offset = __ pc() - start;
   __ pushptr(Address(r15_thread, in_bytes(JavaThread::ScratchA_offset())));
-  __ movptr(rscratch1, 0);
+  __ movptr(rscratch1, 2); // InvalidateRecompile
 
   int uncommon_trap_offset = __ pc() - start;