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

deadlock in MemoryAwareConcurrentReadMap.get

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1-beta-1
    • 1.1-beta-2
    • groovy-jdk
    • None
    • Linux JDK 1.5

    Description

      I've found a deadlock in MemoryAwareConcurrentReadMap.get that affects calls to MetaClassRegistryImpl.getMetaClass. This particular case seems to happen very infrequently; the last time I saw it happen was after my program had been running for 4.5 hours. I have seen it more than once, however, so I'm fairly certain this bug will strike any Groovy program that runs long enough.

      This issue may be related GROOVY-1890 but I can't be certain from the information I have.

      Attachments

        1. threads.txt
          17 kB
          John Williams

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              jrw@pobox.com John Williams
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: