mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8234086: VM operation can be simplified
Reviewed-by: kbarrett, dholmes, dcubed
This commit is contained in:
parent
6230791e9e
commit
3d7d54b145
14 changed files with 75 additions and 159 deletions
|
@ -524,10 +524,9 @@ void Thread::start(Thread* thread) {
|
|||
}
|
||||
}
|
||||
|
||||
// Enqueue a VM_Operation to do the job for us - sometime later
|
||||
void Thread::send_async_exception(oop java_thread, oop java_throwable) {
|
||||
VM_ThreadStop* vm_stop = new VM_ThreadStop(java_thread, java_throwable);
|
||||
VMThread::execute(vm_stop);
|
||||
VM_ThreadStop vm_stop(java_thread, java_throwable);
|
||||
VMThread::execute(&vm_stop);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue