db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lily Wei (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-5092) [patch] avoid Boolean allocations for rowset data in client cursor
Date Sun, 20 Mar 2011 04:39:29 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008876#comment-13008876
] 

Lily Wei commented on DERBY-5092:
---------------------------------

Suites.all and derbyall run clean with this patch. If there is no objection, I will commit
this patch soon.

> [patch] avoid Boolean allocations for rowset data in client cursor
> ------------------------------------------------------------------
>
>                 Key: DERBY-5092
>                 URL: https://issues.apache.org/jira/browse/DERBY-5092
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Client
>    Affects Versions: 10.7.1.1
>            Reporter: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.8.0.0
>
>         Attachments: avoid_boolean_allocs.diff
>
>
> code allocates a new Boolean for every row value of a boolean column, creating needless
garbage. Patch switches to use immutable Boolean.TRUE and Boolean.FALSE values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message