8265035: Remove unneeded exception check from refill_ic_stubs()

Reviewed-by: hseigel, dholmes
This commit is contained in:
Patricio Chilano Mateo 2021-04-13 15:32:57 +00:00
parent fced0f08bf
commit 943503ef6a

View File

@ -157,17 +157,8 @@ void InlineCacheBuffer::refill_ic_stubs() {
#endif
// we ran out of inline cache buffer space; must enter safepoint.
// We do this by forcing a safepoint
EXCEPTION_MARK;
VM_ICBufferFull ibf;
VMThread::execute(&ibf);
// We could potential get an async. exception at this point.
// In that case we will rethrow it to ourselvs.
if (HAS_PENDING_EXCEPTION) {
oop exception = PENDING_EXCEPTION;
CLEAR_PENDING_EXCEPTION;
JavaThread::current()->set_pending_async_exception(exception);
}
}
void InlineCacheBuffer::update_inline_caches() {