Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-352

TypeProviderImpl retains empty HashMaps

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    Description

      During analysis of a memory dump we have identified that TypeProviderImpl instances retained via TypeProviderWrapper contain references to empty HashMaps, wasting ~114kB in ~2370 instances. This seems to point to getTypeDefsContextMap field. Analyze lifecycle in an attempt to bring this down as much as reasonably possible.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: