On 4/11/2016 6:02 PM, Alexander Scherbatiy wrote:
On 12/22/2015 4:47 PM, Semyon Sadetsky wrote:
Hello,
Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8145787
webrev: http://cr.openjdk.java.net/~ssadetsky/8145787/webrev.00/
This is a multithreading stress test in which the undo queue depth
may reach zero sometimes occasionally. The corresponding checks were
added.
What is the sequence of the threads leads that the exception is
thrown?
When undo() operation from t3 called more times than insertString() and
remove() in t1 and t2. Note that undoOrRedo() in t3 is also may work as
undo().
--Semyon
Thanks,
Alexandr.
--Semyon