comparison src/share/vm/code/debugInfoRec.cpp @ 1014:8e954aedbb81

6889869: assert(!Interpreter::bytecode_should_reexecute(code),"should not reexecute") Reviewed-by: jrose, kvn, cfang, twisti
author never
date Wed, 14 Oct 2009 10:36:57 -0700
parents 148e5441d916
children e66fd840cb6b
comparison
equal deleted inserted replaced
1013:ce590301ae2a 1014:8e954aedbb81
354 // This is valid because non-safepoints are only sought 354 // This is valid because non-safepoints are only sought
355 // with pc_desc_near, which (when it misses prev) will 355 // with pc_desc_near, which (when it misses prev) will
356 // search forward until it finds last. 356 // search forward until it finds last.
357 // In addition, it does not matter if the last PcDesc 357 // In addition, it does not matter if the last PcDesc
358 // is for a safepoint or not. 358 // is for a safepoint or not.
359 if (_prev_safepoint_pc < prev->pc_offset() && 359 if (_prev_safepoint_pc < prev->pc_offset() && prev->is_same_info(last)) {
360 prev->scope_decode_offset() == last->scope_decode_offset()) {
361 assert(prev == last-1, "sane"); 360 assert(prev == last-1, "sane");
362 prev->set_pc_offset(pc_offset); 361 prev->set_pc_offset(pc_offset);
363 _pcs_length -= 1; 362 _pcs_length -= 1;
364 NOT_PRODUCT(++dir_stats.chunks_elided); 363 NOT_PRODUCT(++dir_stats.chunks_elided);
365 } 364 }