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

replace not thread safe reference map implementation with thread safe version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1-beta-1
    • None
    • None

    Description

      the MetaClassRegistry is using a subclass of WeakHashMap to store mapping between classes ClassLoader and MetaClass. The WeakHashMap is not threadsafe and my cause strange side effects in a multi threaded environment. such effects are possibly loosing of set MetaClasses and overwriting freshly generated MetaClasses. the same for Classloader is possible.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            blackdrag Jochen Theodorou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: