mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
5103339: Strengthen NoSafepointVerifier
Add NSV check at possible safepoint transition or places that could take out locks. Consolidate with clearing unhandled oops. Reviewed-by: dholmes, rehn
This commit is contained in:
parent
af89550878
commit
d1ca6221a4
16 changed files with 50 additions and 51 deletions
|
@ -1440,7 +1440,7 @@ void SignatureHandlerLibrary::add(const methodHandle& method) {
|
|||
method->set_signature_handler(_handlers->at(handler_index));
|
||||
}
|
||||
} else {
|
||||
CHECK_UNHANDLED_OOPS_ONLY(Thread::current()->clear_unhandled_oops());
|
||||
DEBUG_ONLY(Thread::current()->check_possible_safepoint());
|
||||
// use generic signature handler
|
||||
method->set_signature_handler(Interpreter::slow_signature_handler());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue