1.1 --- a/src/share/vm/asm/codeBuffer.hpp Fri Oct 08 02:42:17 2010 -0700 1.2 +++ b/src/share/vm/asm/codeBuffer.hpp Mon Oct 11 04:18:58 2010 -0700 1.3 @@ -168,8 +168,8 @@ 1.4 bool allocates(address pc) const { return pc >= _start && pc < _limit; } 1.5 bool allocates2(address pc) const { return pc >= _start && pc <= _limit; } 1.6 1.7 - void set_end(address pc) { assert(allocates2(pc),""); _end = pc; } 1.8 - void set_mark(address pc) { assert(contains2(pc),"not in codeBuffer"); 1.9 + void set_end(address pc) { assert(allocates2(pc), err_msg("not in CodeBuffer memory: " PTR_FORMAT " <= " PTR_FORMAT " <= " PTR_FORMAT, _start, pc, _limit)); _end = pc; } 1.10 + void set_mark(address pc) { assert(contains2(pc), "not in codeBuffer"); 1.11 _mark = pc; } 1.12 void set_mark_off(int offset) { assert(contains2(offset+_start),"not in codeBuffer"); 1.13 _mark = offset + _start; }