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

Remove static references to ResourceDefinition instances

XMLWordPrintable

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

      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.

          1.
          Eliminate static references to Undertow ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          2.
          Eliminate static references to JSF ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          3.
          Eliminate static references to bean-validation ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          4.
          Eliminate static references to Weld ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          5.
          Eliminate static references to appclient ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          6.
          Eliminate static references to batch-jberet ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          7.
          Eliminate static references to datasources ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          8.
          Eliminate static references to JCA ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          9.
          Eliminate static references to datasource-agroal ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          10.
          Eliminate static references to EE subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          11.
          Eliminate static references to EE-security subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          12.
          Eliminate static references to ejb3 subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          13.
          Eliminate static references to iiop-openjdk subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          14.
          Eliminate static references to JAX-RS subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          15.
          Eliminate static references to JDR subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          16.
          Eliminate static references to JPA subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          17.
          Eliminate static references to JSF subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          18.
          Eliminate static references to mail subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          19.
          Eliminate static references to messaging-activemq subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          20.
          Eliminate static references to microprofile-opentracing subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          21.
          Eliminate static references to naming subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          22.
          Eliminate static references to RTS subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro
          23.
          Eliminate static references to transactions subsystem ResourceDefinition instances Sub-task Closed Major Paul Ferraro

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

                Created:
                Updated:
                Resolved: