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

ServiceManager.WritingThread throws ConcurrentModificationException occasionally

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jt4.2.1
    • jt4.2.1
    • tools
    • b01
    • generic
    • generic
    • Verified

      ServiceManager.WritingThread can throw ConcurrentModificationException, because its HashMap members are not thread-safe and are modified from both ServiceManager's thread and from WritingThread's thread.
      For example ConcurrentModificationException occurs when WritingThread runs by HashMap keys in WritingThread.write() method and at the same time ServiceManager changes the same HashMap via public WritingThread.remove() method.

            sborodinsunw Sergey Borodin (Inactive)
            dlepekhi Dmitry Lepekhin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: