8313141: Missing check for os_thread type in os_windows.cpp

Reviewed-by: dholmes, mgronlun
This commit is contained in:
Julian Waters 2023-08-05 05:24:08 +00:00
parent 6d18529616
commit 90d795abf1

View File

@ -718,6 +718,7 @@ bool os::create_thread(Thread* thread, ThreadType thr_type,
case os::gc_thread:
case os::asynclog_thread:
case os::watcher_thread:
default: // presume the unknown thread type is an internal VM one
if (VMThreadStackSize > 0) stack_size = (size_t)(VMThreadStackSize * K);
break;
}