mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8253647: Remove dead code in os::create_thread() on Linux/BSD
Reviewed-by: stuefe, dholmes
This commit is contained in:
parent
5a57945f1a
commit
4167540074
2 changed files with 0 additions and 14 deletions
|
@ -978,13 +978,6 @@ bool os::create_thread(Thread* thread, ThreadType thr_type,
|
|||
}
|
||||
}
|
||||
|
||||
// Aborted due to thread limit being reached
|
||||
if (state == ZOMBIE) {
|
||||
thread->set_osthread(NULL);
|
||||
delete osthread;
|
||||
return false;
|
||||
}
|
||||
|
||||
// The thread is returned suspended (in state INITIALIZED),
|
||||
// and is started higher up in the call chain
|
||||
assert(state == INITIALIZED, "race condition");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue