RFR: 8032901: WaitForMultipleObjects() return value not handled appropriately
david.holmes at oracle.com
Tue May 13 12:00:12 UTC 2014
I don't understand this one at all. What is an "abandoned mutex"? For
that matter why does the code wait on a mutex and an event? Do we
already own the mutex? If so what does it mean to wait on it? If not
then how can we release it?
On 13/05/2014 8:57 PM, Alan Bateman wrote:
> This is debugger's shared memory transport so cc'ing serviceability-dev
> as that is there this code is maintained.
> Is there a test case or any outline of the conditions that cause this? I
> think that would be useful to understand the issue further.
> On 13/05/2014 11:46, Aleksej Efimov wrote:
>> Can I have a review for 8032901 bug  fix . There is a possible
>> case when 'WaitForMultipleObjects' function can return the
>> WAIT_ABANDONED_0  error value.
>> In such case it's better to release the mutex and return error value.
>> This will prevent other threads to be blocked on abandoned mutex.
>> Thank you,
>>  https://bugs.openjdk.java.net/browse/JDK-8032901
>>  http://cr.openjdk.java.net/~aefimov/8032901/9/webrev.00/
More information about the core-libs-dev