diff src/share/vm/c1/c1_Compilation.hpp @ 2098:2f9d59b0fa5c

7009268: guarantee(middle - slop > start) failed: need enough space to divide up Summary: Codebuffer can overflow on test with large number of calls Reviewed-by: dholmes, collins
author bobv
date Fri, 07 Jan 2011 12:44:54 -0500
parents f95d63e2154a
children 1d1603768966
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Compilation.hpp	Mon Jan 03 14:09:11 2011 -0500
+++ b/src/share/vm/c1/c1_Compilation.hpp	Fri Jan 07 12:44:54 2011 -0500
@@ -192,7 +192,7 @@
     return desired_max_code_buffer_size() / 10;
   }
 
-  static void setup_code_buffer(CodeBuffer* cb, int call_stub_estimate);
+  static bool setup_code_buffer(CodeBuffer* cb, int call_stub_estimate);
 
   // timers
   static void print_timers();