8323065: Unneccesary CodeBlob lookup in CompiledIC::internal_set_ic_destination
Reviewed-by: dlong, thartmann
This commit is contained in:
parent
a40d397d5d
commit
eb9e754b3a
@ -128,11 +128,13 @@ void CompiledIC::internal_set_ic_destination(address entry_point, bool is_icstub
|
||||
tty->cr();
|
||||
}
|
||||
|
||||
#ifdef ASSERT
|
||||
{
|
||||
CodeBlob* cb = CodeCache::find_blob(_call->instruction_address());
|
||||
assert(cb != nullptr && cb->is_compiled(), "must be compiled");
|
||||
_call->set_destination_mt_safe(entry_point);
|
||||
}
|
||||
#endif
|
||||
_call->set_destination_mt_safe(entry_point);
|
||||
|
||||
if (is_optimized() || is_icstub) {
|
||||
// Optimized call sites don't have a cache value and ICStub call
|
||||
|
Loading…
x
Reference in New Issue
Block a user