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

IdentitySchemaNodeImpl retains empty HashMaps

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    Description

      We have identified that IdentitySchemaNodeImpl retains ~1300 empty HashMap instances, costing ~63kB memory. This is not necessary because after we resolve the schema context, these are immutable, so should really refer to Collections.emptyMap().

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: