mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8229236: CriticalJNINatives: dll handling should be done in native thread state
Temporarily switch thread state from _thread_in_vm to _thread_in_native to execute I/O. Reviewed-by: dlong, dholmes
This commit is contained in:
parent
fd4dc1dfd2
commit
50baeb8180
13 changed files with 36 additions and 23 deletions
|
@ -828,11 +828,6 @@ void Method::clear_native_function() {
|
|||
clear_code();
|
||||
}
|
||||
|
||||
address Method::critical_native_function() {
|
||||
methodHandle mh(this);
|
||||
return NativeLookup::lookup_critical_entry(mh);
|
||||
}
|
||||
|
||||
|
||||
void Method::set_signature_handler(address handler) {
|
||||
address* signature_handler = signature_handler_addr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue