comparison src/share/vm/interpreter/bytecodeTracer.cpp @ 4042:b20d64f83668

7090904: JSR 292: JRuby junit test crashes in PSScavengeRootsClosure::do_oop Reviewed-by: kvn, never, jrose
author twisti
date Mon, 24 Oct 2011 07:53:17 -0700
parents f08d439fab8c
children da91efe96a93
comparison
equal deleted inserted replaced
4041:42783d1414b2 4042:b20d64f83668
239 if (i >= 0 && i < climit) { 239 if (i >= 0 && i < climit) {
240 if (!cache->entry_at(i)->is_secondary_entry()) { 240 if (!cache->entry_at(i)->is_secondary_entry()) {
241 st->print_cr(" not secondary entry?", i); 241 st->print_cr(" not secondary entry?", i);
242 return false; 242 return false;
243 } 243 }
244 i = cache->entry_at(i)->main_entry_index(); 244 i = cache->entry_at(i)->main_entry_index() + constantPoolOopDesc::CPCACHE_INDEX_TAG;
245 goto check_cache_index; 245 goto check_cache_index;
246 } else { 246 } else {
247 st->print_cr(" not in cache[*]?", i); 247 st->print_cr(" not in cache[*]?", i);
248 return false; 248 return false;
249 } 249 }