mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8230424: Use platform independent code for Thread.interrupt support
8231094: os::sleep in assert message should be changed to JavaThread::sleep Reviewed-by: rehn, dcubed
This commit is contained in:
parent
f94f7f2212
commit
5bca86f9f4
15 changed files with 129 additions and 155 deletions
|
@ -631,7 +631,7 @@ JRT_ENTRY(jboolean, JVMCIRuntime::thread_is_interrupted(JavaThread* thread, oopD
|
|||
// The other thread may exit during this process, which is ok so return false.
|
||||
return JNI_FALSE;
|
||||
} else {
|
||||
return (jint) Thread::is_interrupted(receiverThread, clear_interrupted != 0);
|
||||
return (jint) receiverThread->is_interrupted(clear_interrupted != 0);
|
||||
}
|
||||
JRT_END
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue