You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Lily Wei (JIRA)" <ji...@apache.org> on 2011/03/20 23:30:06 UTC
[jira] [Resolved] (DERBY-5092) [patch] avoid Boolean allocations
for rowset data in client cursor
[ https://issues.apache.org/jira/browse/DERBY-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lily Wei resolved DERBY-5092.
-----------------------------
Resolution: Fixed
I've committed with revision 1083603. Thanks, Dave.
> [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
> Assignee: Dave Brosius
> Priority: Trivial
> Labels: derby_triage10_8
> 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