<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi, <br>
    <br>
    Would you please look at the simple fix of String Deduplication
    tests. <br>
    <br>
    Description:<br>
    <br>
    When string deduplication has happened  <i>s1.equals(s2)</i>  will
    be equivalent to <i>s1 == s2</i><br>
    Deduplication is performed in a separate thread so it could be
    delayed a bit.<br>
    Tests are away about possible delay and give another chance if
    deduplication hasn't <br>
    happened by the moment of check.<br>
    But tests wait for deduplication in infinitive loop, so if
    deduplication doesn't work the tests <br>
    will timeout, leaving hanging VM after. Which is not very elegant.<br>
    <br>
    The fix is simple: replace infinitive loops with limited ones and
    report failure.<br>
    The logic of the tests hasn't changed. <br>
    <br>
    <a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~dfazunen/8050464/webrev.01/">http://cr.openjdk.java.net/~dfazunen/8050464/webrev.01/</a><br>
    <a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8050464">https://bugs.openjdk.java.net/browse/JDK-8050464</a><br>
    <br>
    Any comments are welcome.<br>
    <br>
    Thanks,<br>
    Dima<br>
    <br>
    <br>
    <br>
  </body>
</html>