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

Jason Greene (JIRA) issues at jboss.org
Tue Oct 7 13:22:12 EDT 2014


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

Jason Greene commented on LOGMGR-116:
-------------------------------------

Note that it according to a comment this usage could potentially stall the finalizer thread(s). If it can stall it should be a task executed in another thread.

The only exception is a monitor acquire on the finalize method itself, this does not incur a lock due to a JLS rule that an object is not finalizable if it aquires a monitor that is actively locked

> 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