hotspot/src/share/vm/c1/c1_LinearScan.cpp
changeset 24018 77b156916bab
parent 22234 da823d78ad65
child 24669 14439491d407
--- 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