RFR: 8024055: serviceability/attach/AttachWithStalePidFile.java createJavaPidFile() fails

Peter Allwin peter.allwin at oracle.com
Fri Oct 24 13:39:41 UTC 2014


Hello!

This patch fixes two intermittent issues seen over the past year:

  a) Possible failure where an existing pid-file is not owned by the test user
  b) Race during startup where we try to attach to the target before it’s ready (removed arbitrary 5sec sleep)

Bug: https://bugs.openjdk.java.net/browse/JDK-8024055 <https://bugs.openjdk.java.net/browse/JDK-8024055>
Webrev: http://cr.openjdk.java.net/~allwin/8024055/webrev.00/ <http://cr.openjdk.java.net/~allwin/8024055/webrev.00/>

Tested locally on my Mac.

Thanks!
/peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20141024/0d309385/attachment.html>


More information about the serviceability-dev mailing list