Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17418

Remove static references to ResourceDefinition instances

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 28.0.0.Beta1, 28.0.0.Final
    • 27.0.1.Final
    • None
    • None
    • ---
    • ---

    Description

      ResourceDefinition instances are only used during subsystem registration. Unfortunately, many subsystems reference each ResourceDefinition instance in a static reference, which prevents their garbage collection once subsystem registration is complete.
      In most cases, these static references are only used by the PersistentResourceXMLParser implementations to obtain the PathElement of a given ResourceDefinition - even though static references to PathElement instances typically exist already.
      Eliminating these static references will reduce the metaspace overhead of the server by allowing all ResourceDefinition instances to be garbage collected after the initial subsystem registration.

      This is a parent task that will track a sub-tasks per affected subsystem.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: