-
Enhancement
-
Resolution: Obsolete
-
Major
-
None
-
7.0.0.ER5
-
None
Based on article [1] all classes which have overridden finalize method may cause OOME and also longer GC pauses. As GC pauses might be critical for some kind of applications as discussed for example for PhantomReference in Artemis [2], GC pause should be reduced if possible.
This jira is created based on discussion on JBEAP-2947 to investigate the 2nd case and measure potential GC pause enhancement for jboss-logmanager classes org.jboss.logmanager.LoggerNode and org.jboss.logmanager.Logger which have overridden finalize() methods. From histogram [3] those objects are used very often and GC'ed.
[1] https://plumbr.eu/blog/garbage-collection/debugging-to-understand-finalizer
[2] http://activemq.2283324.n4.nabble.com/Artemis-use-of-PhantomReference-impacting-GC-performance-td4706961.html
[3] https://issues.jboss.org/browse/JBEAP-2947?focusedCommentId=13160966&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13160966
- relates to
-
JBEAP-2947 OutOfMemory at HP_UX java during CDI TCK execution
- Closed