You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2010/12/11 21:17:01 UTC

[jira] Created: (CASSANDRA-1845) [patch] help out gc, by making inner classes static where possible

[patch] help out gc, by making inner classes static where possible
------------------------------------------------------------------

                 Key: CASSANDRA-1845
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1845
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Dave Brosius
            Priority: Trivial
         Attachments: help_gc.diff

by making inner classes static, the parent class can go out of scope and be gc'ed even if the inner class does not.

Simplifies gc logic, and makes it easier to process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1845) [patch] help out gc, by making inner classes static where possible

Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Brosius updated CASSANDRA-1845:
------------------------------------

    Attachment: help_gc.diff

> [patch] help out gc, by making inner classes static where possible
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-1845
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1845
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: help_gc.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> by making inner classes static, the parent class can go out of scope and be gc'ed even if the inner class does not.
> Simplifies gc logic, and makes it easier to process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1845) [patch] help out gc, by making inner classes static where possible

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971367#action_12971367 ] 

Hudson commented on CASSANDRA-1845:
-----------------------------------

Integrated in Cassandra-0.7 #79 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/79/])
    

> [patch] help out gc, by making inner classes static where possible
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-1845
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1845
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 0.7.0
>
>         Attachments: help_gc.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> by making inner classes static, the parent class can go out of scope and be gc'ed even if the inner class does not.
> Simplifies gc logic, and makes it easier to process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-1845) [patch] help out gc, by making inner classes static where possible

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-1845.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7.0
         Reviewer: jbellis
         Assignee: Dave Brosius

committed, thanks!

> [patch] help out gc, by making inner classes static where possible
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-1845
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1845
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 0.7.0
>
>         Attachments: help_gc.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> by making inner classes static, the parent class can go out of scope and be gc'ed even if the inner class does not.
> Simplifies gc logic, and makes it easier to process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.