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


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 

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,

More information about the hotspot-runtime-dev mailing list