--- a/hotspot/src/share/vm/c1/c1_LinearScan.cpp Mon Apr 14 09:04:36 2014 +0000
+++ b/hotspot/src/share/vm/c1/c1_LinearScan.cpp Tue Apr 01 09:36:49 2014 +0200
@@ -2451,6 +2451,9 @@
CodeEmitInfo* info = visitor.info_at(i);
OopMap* oop_map = first_oop_map;
+ // compute worst case interpreter size in case of a deoptimization
+ _compilation->update_interpreter_frame_size(info->interpreter_frame_size());
+
if (info->stack()->locks_size() != first_info->stack()->locks_size()) {
// this info has a different number of locks then the precomputed oop map
// (possible for lock and unlock instructions) -> compute oop map with