You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2009/02/05 06:19:59 UTC

[jira] Created: (JCR-1968) [PATCH] Give the GC a break

[PATCH] Give the GC a break
---------------------------

                 Key: JCR-1968
                 URL: https://issues.apache.org/jira/browse/JCR-1968
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-ocm
    Affects Versions: 1.6.0
            Reporter: Dave Brosius
            Priority: Trivial
             Fix For: 1.6.0
         Attachments: ease_the_gc.diff

Code creates new objects for Booleans, when can just use the constants new Boolean vs. Boolean.valueOf

No need to create all these objects for the gc to play with. Also fix Double and Long creation.



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


[jira] Resolved: (JCR-1968) [PATCH] Give the GC a break

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

Marcel Reutegger resolved JCR-1968.
-----------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 1.6.0)

Those valueOf methods are only available in Java 1.5. Jackrabbit currently has a requirement that it must run on Java 1.4.

> [PATCH] Give the GC a break
> ---------------------------
>
>                 Key: JCR-1968
>                 URL: https://issues.apache.org/jira/browse/JCR-1968
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-ocm
>    Affects Versions: 1.6.0
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: ease_the_gc.diff
>
>
> Code creates new objects for Booleans, when can just use the constants new Boolean vs. Boolean.valueOf
> No need to create all these objects for the gc to play with. Also fix Double and Long creation.

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


[jira] Commented: (JCR-1968) [PATCH] Give the GC a break

Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670992#action_12670992 ] 

Dave Brosius commented on JCR-1968:
-----------------------------------

Ah sorry, i thought i saw <source>1.5</source> in the ocm pom, and assumed it was the min.

> [PATCH] Give the GC a break
> ---------------------------
>
>                 Key: JCR-1968
>                 URL: https://issues.apache.org/jira/browse/JCR-1968
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-ocm
>    Affects Versions: 1.6.0
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: ease_the_gc.diff
>
>
> Code creates new objects for Booleans, when can just use the constants new Boolean vs. Boolean.valueOf
> No need to create all these objects for the gc to play with. Also fix Double and Long creation.

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


[jira] Updated: (JCR-1968) [PATCH] Give the GC a break

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

Dave Brosius updated JCR-1968:
------------------------------

    Attachment: ease_the_gc.diff

> [PATCH] Give the GC a break
> ---------------------------
>
>                 Key: JCR-1968
>                 URL: https://issues.apache.org/jira/browse/JCR-1968
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-ocm
>    Affects Versions: 1.6.0
>            Reporter: Dave Brosius
>            Priority: Trivial
>             Fix For: 1.6.0
>
>         Attachments: ease_the_gc.diff
>
>
> Code creates new objects for Booleans, when can just use the constants new Boolean vs. Boolean.valueOf
> No need to create all these objects for the gc to play with. Also fix Double and Long creation.

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


[jira] Commented: (JCR-1968) [PATCH] Give the GC a break

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671044#action_12671044 ] 

Marcel Reutegger commented on JCR-1968:
---------------------------------------

Ah right, that's the only exception we have ;) everything else is 1.4.

> [PATCH] Give the GC a break
> ---------------------------
>
>                 Key: JCR-1968
>                 URL: https://issues.apache.org/jira/browse/JCR-1968
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-ocm
>    Affects Versions: 1.6.0
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: ease_the_gc.diff
>
>
> Code creates new objects for Booleans, when can just use the constants new Boolean vs. Boolean.valueOf
> No need to create all these objects for the gc to play with. Also fix Double and Long creation.

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