comparison 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
comparison
equal deleted inserted replaced
2095:36c186bcc085 2098:2f9d59b0fa5c
190 } 190 }
191 static int desired_max_constant_size() { 191 static int desired_max_constant_size() {
192 return desired_max_code_buffer_size() / 10; 192 return desired_max_code_buffer_size() / 10;
193 } 193 }
194 194
195 static void setup_code_buffer(CodeBuffer* cb, int call_stub_estimate); 195 static bool setup_code_buffer(CodeBuffer* cb, int call_stub_estimate);
196 196
197 // timers 197 // timers
198 static void print_timers(); 198 static void print_timers();
199 199
200 #ifndef PRODUCT 200 #ifndef PRODUCT