[jboss-jira] [JBoss JIRA] (LOGMGR-116) Correct or remove usage of finalize in LoggerNode

David Lloyd (JIRA) issues at jboss.org
Tue Oct 7 13:33:11 EDT 2014


    [ https://issues.jboss.org/browse/LOGMGR-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009471#comment-13009471 ] 

David Lloyd commented on LOGMGR-116:
------------------------------------

This finalize is designed to behave equivalently to the JUL version.  So far this usage has not been observed to actually cause any issues with the finalizer thread - it could conceivably do so in a case where you have a hierarchy of loggers that is hundreds of levels deep and exponential in breadth, but the simple massive number of objects that such a case would create would be a far larger factor.

I think it should be kept as-is unless a problem is observed, at which time a dedicated cleanup thread should be used instead.

> Correct or remove usage of finalize in LoggerNode
> -------------------------------------------------
>
>                 Key: LOGMGR-116
>                 URL: https://issues.jboss.org/browse/LOGMGR-116
>             Project: JBoss Log Manager
>          Issue Type: Task
>            Reporter: Jason Greene
>            Assignee: James Perkins
>             Fix For: 1.4.4.Final, 1.5.4.Final
>
>




--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list