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

ServiceManager.WritingThread throws ConcurrentModificationException occasionally

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: