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

MetaClassRegistryImpl creates mulitple Metaclasses for the same class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1-beta-3
    • Component/s: None
    • Labels:
      None

      Description

      If multiple Threads are requesting a Metaclass for the same class at the "same" time, multiple instances of the MetaClass will be created and intialized. This means a slow down for the Threads as well as requiring more memory (until the other MetaClasses are collected)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: