6649594: Intermittent IOExceptions during dynamic attach on linux and solaris
Alan Bateman
Alan.Bateman at oracle.com
Wed Jul 14 07:38:26 PDT 2010
This is a long standing bug in the attach mechanism on Solaris and Linux
that causes intermittent failures for some tests. The bug is that, on
first attempt to attach, the client can observe the file to which the
door descriptor is attached or the socket file before initialization is
complete. The proposed fix removes the timing issue by renaming the file
into place after initialization. Some minor clean-up while I was in the
area. The webrev is here:
http://cr.openjdk.java.net/~alanb/6649594/webrev/
Dan or Karen - one thing I wasn't sure about is whether to emit a
warning when the attach listener can't start or should warnings be
debug_only?
-Alan.
More information about the serviceability-dev
mailing list