diff src/share/vm/runtime/vframe.cpp @ 793:eacd97c88873

6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization Summary: add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame Reviewed-by: never
author cfang
date Fri, 05 Jun 2009 10:25:39 -0700
parents d1605aabd0a1
children b109e761e927
line wrap: on
line diff
--- a/src/share/vm/runtime/vframe.cpp	Wed Jun 03 18:15:25 2009 -0700
+++ b/src/share/vm/runtime/vframe.cpp	Fri Jun 05 10:25:39 2009 -0700
@@ -559,7 +559,8 @@
   }
   // Check frame size and print warning if it looks suspiciously large
   if (fr().sp() != NULL) {
-    uint size = fr().frame_size();
+    RegisterMap map = *register_map();
+    uint size = fr().frame_size(&map);
 #ifdef _LP64
     if (size > 8*K) warning("SUSPICIOUSLY LARGE FRAME (%d)", size);
 #else