------- Comment #17 from daney at gcc dot gnu dot org 2008-09-22 23:56 ------- For me the testcase always gets a ConcurrentModificationException in w.clear() very soon after starting. This is on GCC trunk 140563 on x86_64-pc-linux-gnu.
If I synchronize(w) for accesses to w there is no ConcurrentModificationException, but I have not seen it crash yet either. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18266