<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body style="background-color: rgb(255, 255, 255); color: rgb(0, 0,
    0);" bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/23/2015 06:33 PM, Peter Levart
      wrote:<br>
    </div>
    <blockquote cite="mid:56534DD1.8060006@gmail.com" type="cite"><!--[if !IE]><DIV style="border-left: 2px solid #009900; border-right: 2px solid #009900;  padding: 0px 15px; margin: 2px 0px;"><![endif]--><br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://cr.openjdk.java.net/%7Eplevart/misc/ReachabilityFence/ReachabilityFence.java">http://cr.openjdk.java.net/~plevart/misc/ReachabilityFence/ReachabilityFence.java</a><br>
      <br>
      This works reliably on Linux and only takes not much more than
      200ms per test.<br>
      <!--[if !IE]></DIV><![endif]--></blockquote>
    <br>
    I wanted to say, not more than 100ms per negative test. How to
    choose the POSITIVE_TIMEOUT then?<br>
    <br>
    Hint: measure negative test time and double or triple it.<br>
    <br>
    Regards, Peter<br>
    Â <br>
  </body>
</html>