RFR 8066863: bigapps/runThese/nowarnings fails: Java HotSpot(TM) 64-Bit Server VM warning: WaitForMultipleObjects

Ivan Gerasimov ivan.gerasimov at oracle.com
Thu Dec 11 06:52:09 UTC 2014


Hello!

After the fix for JDK-8064694 some more failures of 
WaitForMultipleObjects() were observed under heavy load.
The reason was that the limitation on wait object number was overlooked.
The total number of the objects should not be greater than 
MAXIMUM_WAIT_OBJECTS (= 64).

The proposed fix is to get rid of constant MAX_EXIT_HANDLES and use 
MAXIMUM_WAIT_OBJECTS instead for all kinds of builds.
I also added the last error code to the failure reports, so it would be 
easier to identify the cause of a failure.

Would you please help review the fix?

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

Sincerely yours,
Ivan


More information about the serviceability-dev mailing list