Hi Ivan,
On 11/12/2014 4:52 PM, Ivan Gerasimov wrote:
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/
The webrev changes do not correspond to the description you gave above.
David
Sincerely yours,
Ivan