RFR: (S) 8050464: G1 string deduplication tests hang/timeout and leave running processes consuming all resources
dmitry.fazunenko at oracle.com
Wed Aug 6 15:53:19 UTC 2014
Would you please look at the simple fix of String Deduplication tests.
When string deduplication has happened /s1.equals(s2)/ will be
equivalent to /s1 == s2/
Deduplication is performed in a separate thread so it could be delayed a
Tests are away about possible delay and give another chance if
happened by the moment of check.
But tests wait for deduplication in infinitive loop, so if deduplication
doesn't work the tests
will timeout, leaving hanging VM after. Which is not very elegant.
The fix is simple: replace infinitive loops with limited ones and report
The logic of the tests hasn't changed.
Any comments are welcome.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-dev