Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
4765:b642b49f9738 | 4766:40c2484c09e1 |
---|---|
59 _code_section = cs; | 59 _code_section = cs; |
60 _code_begin = cs->start(); | 60 _code_begin = cs->start(); |
61 _code_limit = cs->limit(); | 61 _code_limit = cs->limit(); |
62 _code_pos = cs->end(); | 62 _code_pos = cs->end(); |
63 _oop_recorder= code->oop_recorder(); | 63 _oop_recorder= code->oop_recorder(); |
64 DEBUG_ONLY( _short_branch_delta = 0; ) | |
64 if (_code_begin == NULL) { | 65 if (_code_begin == NULL) { |
65 vm_exit_out_of_memory(0, err_msg("CodeCache: no room for %s", | 66 vm_exit_out_of_memory(0, err_msg("CodeCache: no room for %s", |
66 code->name())); | 67 code->name())); |
67 } | 68 } |
68 } | 69 } |