8227260: JNI upcalls should bypass class initialization barrier in c2i adapter

Reviewed-by: eosterlund, dholmes, mdoerr, dpochepk
This commit is contained in:
Vladimir Ivanov 2019-07-19 16:25:04 +03:00
parent 96d9d06cc9
commit 242bd67c6c
11 changed files with 227 additions and 45 deletions

View file

@ -2969,11 +2969,6 @@ void JavaThread::oops_do(OopClosure* f, CodeBlobClosure* cf) {
}
}
// callee_target is never live across a gc point so NULL it here should
// it still contain a methdOop.
set_callee_target(NULL);
assert(vframe_array_head() == NULL, "deopt in progress at a safepoint!");
// If we have deferred set_locals there might be oops waiting to be
// written