RFR 8064694: Kitchensink: WaitForMultipleObjects failed in hotspot\src\os\windows\vm\os_windows.cpp: 3844

Ivan Gerasimov ivan.gerasimov at oracle.com
Fri Nov 14 12:35:29 UTC 2014


Hello!

The recent fix for JDK-8059533 ((process) Make exiting process wait for 
exiting threads [win]) caused the warning message to be printed in some 
test environments:
-----------
os_windows.cpp:3844 is in the newly updated 
os::win32::exit_process_or_thread(Ept what, int exit_code)
-----------

This has been observed with debug builds on highly loaded systems.


To address the issue it is proposed to do three things:
1) increase the timeout for debug builds,
2) increase the maximum number of the thread handles to be stored,
3) rise the priority of the exiting threads, if we need to wait for them.

Would you please help review the fix?

BUGURL: https://bugs.openjdk.java.net/browse/JDK-8064694
WEBREV: http://cr.openjdk.java.net/~igerasim/8064694/0/webrev/

The fix was tested on all available platforms, with the hotspot testset. 
No failures.

Sincerely yours,
Ivan



More information about the serviceability-dev mailing list