Mercurial > hg > truffle
diff src/share/vm/asm/assembler.cpp @ 4766:40c2484c09e1
7110832: ctw/.../org_apache_avalon_composition_util_StringHelper crashes the VM
Summary: Distance is too large for one short branch in string_indexofC8().
Reviewed-by: iveresov
author | kvn |
---|---|
date | Fri, 23 Dec 2011 15:24:36 -0800 |
parents | 1d1603768966 |
children | 1d7922586cf6 |
line wrap: on
line diff
--- a/src/share/vm/asm/assembler.cpp Fri Dec 23 09:36:23 2011 +0100 +++ b/src/share/vm/asm/assembler.cpp Fri Dec 23 15:24:36 2011 -0800 @@ -61,6 +61,7 @@ _code_limit = cs->limit(); _code_pos = cs->end(); _oop_recorder= code->oop_recorder(); + DEBUG_ONLY( _short_branch_delta = 0; ) if (_code_begin == NULL) { vm_exit_out_of_memory(0, err_msg("CodeCache: no room for %s", code->name()));