RFR(S): JDK-8157236 - attach on ARMv7 fails with com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file
dmitry.samersoff at oracle.com
Thu Aug 11 16:55:55 UTC 2016
Please see updated webrev.
I didn't touch windows version because it quite different from *NIX one.
On 2016-08-08 02:40, David Holmes wrote:
> Hi Dmitry,
> On 5/08/2016 7:25 PM, Dmitry Samersoff wrote:
>> Please review the fix:
>> Tests fail intermittently because it can't attach to child process,
>> these attach failures is hard to debug because attach framework
>> doesn't provide enough diagnostic information.
>> a) Increase attach timeout
>> b) Slightly change attach loop to save a bit of CPU power.
>> c) Add some logging to attach listener.
>> It's just a first step in this direction. Complete cleanup of attach
>> code (remove LinuxThreads support and convert all printing to UL) is not
>> a goal of this fix - I'll file a separate CR for it.
> I still think you need more logging now to aid in debugging these cases.
> In particular we want to be able to verify that the path of the attach
> file is what we expect in all cases ie whether we find the .attach_pid
> file in cwd or whether we are looking in temp directory, and whether we
> ultimately succeed or fail.
> Plus whatever you do now should be done consistently for all platforms.
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
More information about the hotspot-runtime-dev