Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4292

ClassHelper.ClassHelperCache#classCache is not thread-safe

    XMLWordPrintableJSON

Details

    Description

      When parsing Groovy scripts from multiple threads at a time, the call to WeakHashMap.get() may never return due to internal corruption due to the concurrent access. Since IntelliJ IDEA does its GDSL parsing in parallel threads, this blocks it completely.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            gromopetr Peter Gromov
            Votes:
            9 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: