RR, S: 7162400 Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand

Dmitry Samersoff Dmitry.Samersoff at oracle.com
Tue Aug 21 13:11:45 PDT 2012


Alan,

Client detaches from target VM for some reason, so we get EBADF from
native layer.

It happens rare - once for 1000 iterations or so, depends to hardware,
so I'm not sure we should fix it.

Serializing enqueue() call we reduce probability of it ever more.

-Dmitry


On 2012-08-21 23:23, Alan Bateman wrote:
> On 21/08/2012 20:05, Dmitry Samersoff wrote:
>> Hi Everybody,
>>
>> Please review small fix.
>>
>> http://cr.openjdk.java.net/~dsamersoff/7162400/webrev.02/
>>
>> -Dmitry
>>
> Can you explain the issue a bit further? Looking at the code I can see
> there may be an issue with asynchronous detach (my default, I didn't get
> that right in the original implementation) but I can't tell if this is
> what you are trying to address now.
> 
> -Alan


-- 
Dmitry Samersoff
Java Hotspot development team, SPB04
* There will come soft rains ...




More information about the serviceability-dev mailing list