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.

Reply via email to