From 90d795abf10bf8b8b53079c1afd19fee7b4cb6cf Mon Sep 17 00:00:00 2001 From: Julian Waters Date: Sat, 5 Aug 2023 05:24:08 +0000 Subject: [PATCH] 8313141: Missing check for os_thread type in os_windows.cpp Reviewed-by: dholmes, mgronlun --- src/hotspot/os/windows/os_windows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/os/windows/os_windows.cpp b/src/hotspot/os/windows/os_windows.cpp index 445b8589893..0a417bda1d3 100644 --- a/src/hotspot/os/windows/os_windows.cpp +++ b/src/hotspot/os/windows/os_windows.cpp @@ -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; }