Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901711

ConcurrentModificationException at org.openjdk.jcstress.link.BinaryLinkServer.terminate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • tools
    • None

      I see a lot of tests fail with the following:
      Exception in thread "main" java.util.ConcurrentModificationException
      at java.util.ArrayList$Itr.checkForComodification(java.base@9-internal/ArrayList.java:935)
      at java.util.ArrayList$Itr.next(java.base@9-internal/ArrayList.java:885)
      at org.openjdk.jcstress.link.BinaryLinkServer.terminate(BinaryLinkServer.java:65)
      at org.openjdk.jcstress.JCStress.run(JCStress.java:131)
      at org.openjdk.jcstress.Main.main(Main.java:60)

      This was seen running this:
        Hardware threads in use/available: 4/4, using Thread.onSpinWait()
        Test preset mode: "default"
        Writing the test results to "jcstress.1466794727687"
        Parsing results to "results/"
        Running each test matching "org.openjdk.jcstress.tests.seqcst.volatiles.L1_L2__L2_L1__S1__S2_Test" for 1 forks, 5 iterations, 1000 ms each
        Solo stride size will be autobalanced within [10, 10000] elements

            shade Aleksey Shipilev
            ppunegov Pavel Punegov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: