--- old/src/share/vm/interpreter/bytecodeTracer.cpp 2011-10-19 08:37:07.454984272 -0700 +++ new/src/share/vm/interpreter/bytecodeTracer.cpp 2011-10-19 08:37:07.180326134 -0700 @@ -241,7 +241,7 @@ st->print_cr(" not secondary entry?", i); return false; } - i = cache->entry_at(i)->main_entry_index(); + i = cache->entry_at(i)->main_entry_index() + constantPoolOopDesc::CPCACHE_INDEX_TAG; goto check_cache_index; } else { st->print_cr(" not in cache[*]?", i);