Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3341

Invetigate GC pause times - overrided finalize() methods

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Major
    • None
    • 7.0.0.ER5
    • Performance
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              andrigmiller Andrig Miller (Inactive)
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: