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

SchemaPath identification of SchemaNodes is costly and useless

    XMLWordPrintable

Details

    • Epic
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 8.0.0
    • parser
    • None
    • Get rid of SchemaNode.getPath()

    Description

      Based on heap dump analysis of YANGTOOLS-652, SchemaPath instances are taking up 11% (13% with partial YANGTOOLS-1065) of retained heap size.

      The problem is that SchemaPath is used in quite a few places to provide type inference and we do not have a replacement mechanism.

      Hence we first need to add that mechanism, then deprecate/migrate SchemaPath usage and finally kill the ill notion of a SchemaPath.

      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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: