Skip to content

Commit

Permalink
8313141: Missing check for os_thread type in os_windows.cpp
Browse files Browse the repository at this point in the history
Reviewed-by: dholmes, mgronlun
  • Loading branch information
TheShermanTanker committed Aug 5, 2023
1 parent 6d18529 commit 90d795a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/os/windows/os_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 90d795a

Please sign in to comment.