7009268: guarantee(middle - slop > start) failed: need enough space to divide up

Codebuffer can overflow on test with large number of calls

Reviewed-by: dholmes, collins
This commit is contained in:
Bob Vandette 2011-01-07 12:44:54 -05:00
parent dec384330b
commit c14e8eb4f2
2 changed files with 11 additions and 6 deletions

View file

@ -192,7 +192,7 @@ class Compilation: public StackObj {
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();