diff src/cpu/x86/vm/c1_Runtime1_x86.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 75a99b4f1c98
children e4616e3d207b
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Mon Aug 08 18:00:16 2011 +0200
+++ b/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Mon Aug 08 18:24:21 2011 +0200
@@ -101,6 +101,7 @@
     restore_live_registers(this, false);
     movptr(Address(thread, Thread::pending_exception_offset()), NULL_WORD);
     leave();
+    movl(rscratch1, 2); // InvalidateRecompile
     jump(RuntimeAddress(SharedRuntime::deopt_blob()->uncommon_trap()));
     bind(L);
   }