Jean Francois Denise created WFCORE-4785:
--------------------------------------------
Summary: PathAddress leaked on reload
Key: WFCORE-4785
URL:
https://issues.redhat.com/browse/WFCORE-4785
Project: WildFly Core
Issue Type: Bug
Components: Management
Reporter: Jean Francois Denise
Assignee: Jeff Mesnil
Boot server, connect CLI and reload.
As an example, the PathAddress [("core-service" =>
"management"),("management-interface" =>
"http-interface")] is leaked after the first reload (and only the first one,
additional reloads don't create leak).
Attached heapdump, server.log and configuration used (reduced standalone.xml).
server.log contains traces of Instrumented PathAddress. Each created instance has an ID to
track finalization.
server.log contains stacktrace of PathAddress allocation.
You will notice:
0) Server starts and allocates 9 PathAddress for the management-interface=http-interface.
1) GC occurs (forced from remote), 7 PathAddress are finalized. Instance 149 and 338 are
not finalized.
2) Reload occurs and allocates 9 new PathAddress for the
management-interface=http-interface.
3) GC occurs (forced from remote), 8 PathAddress are finalized. Instance 338 is Finalized
but NOT instance 149.
4) We have 3 remaining PathAddress 149, 600 and 789
5) Reload occurs and allocates 9 new PathAddress for the
management-interface=http-interface.
6) GC occurs (forced from remote), 9 PathAddress are finalized, we still have 149, new
ones being 1029 and 1218.
So we have a leak of 1 PathAddress instance, instance 149.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)