[jboss-jira] [JBoss JIRA] Commented: (JBCOMMON-92) Optimize Logger usage in JBossObject

Ales Justin (JIRA) jira-events at lists.jboss.org
Tue Sep 1 16:28:45 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBCOMMON-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12484036#action_12484036 ] 

Ales Justin commented on JBCOMMON-92:
-------------------------------------

>> just having a "protected Logger log" field on JBossObject costs us nearly a megabyte of RAM at runtime
It's now cached per class, so this should reduce things a lot.

I have no info/evidence for the cached toString stuff.

> Optimize Logger usage in JBossObject
> ------------------------------------
>
>                 Key: JBCOMMON-92
>                 URL: https://jira.jboss.org/jira/browse/JBCOMMON-92
>             Project: JBoss Common
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: common-core (2.x)
>    Affects Versions: 2.2.15.GA
>            Reporter: Ales Justin
>            Assignee: Ales Justin
>             Fix For:  2.2.16.GA
>
>
> Cache Logger instance in JBossObject; per class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list