You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2012/11/05 20:28:12 UTC
[jira] [Created] (OPENJPA-2292) Reduce object allocations in
JDBCStoreManager
Rick Curtis created OPENJPA-2292:
------------------------------------
Summary: Reduce object allocations in JDBCStoreManager
Key: OPENJPA-2292
URL: https://issues.apache.org/jira/browse/OPENJPA-2292
Project: OpenJPA
Issue Type: Improvement
Components: jdbc, performance
Affects Versions: 2.3.0, 2.2.1, 2.2.1.x
Reporter: Rick Curtis
Fix For: 2.3.0, 2.2.1, 2.2.1.x
While doing some performance analysis we have found that we can reduce object allocations in JDBCStoreManager by creating a simple pool(list) of CancelPreparedStatement/CancelStatement.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OPENJPA-2292) Reduce object allocations in
JDBCStoreManager
Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490894#comment-13490894 ]
Rick Curtis commented on OPENJPA-2292:
--------------------------------------
Committed code to trunk, 2.2.x, and 2.2.1.x.
> Reduce object allocations in JDBCStoreManager
> ---------------------------------------------
>
> Key: OPENJPA-2292
> URL: https://issues.apache.org/jira/browse/OPENJPA-2292
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc, performance
> Affects Versions: 2.3.0, 2.2.1, 2.2.1.x
> Reporter: Rick Curtis
> Fix For: 2.3.0, 2.2.1, 2.2.1.x
>
>
> While doing some performance analysis we have found that we can reduce object allocations in JDBCStoreManager by creating a simple pool(list) of CancelPreparedStatement/CancelStatement.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OPENJPA-2292) Reduce object allocations
Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Curtis updated OPENJPA-2292:
---------------------------------
Description:
While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base.
* In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement.
* BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap.
was:While doing some performance analysis we have found that we can reduce object allocations in JDBCStoreManager by creating a simple pool(list) of CancelPreparedStatement/CancelStatement.
Summary: Reduce object allocations (was: Reduce object allocations in JDBCStoreManager)
> Reduce object allocations
> -------------------------
>
> Key: OPENJPA-2292
> URL: https://issues.apache.org/jira/browse/OPENJPA-2292
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc, performance
> Affects Versions: 2.3.0, 2.2.1, 2.2.1.x
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.3.0, 2.2.1, 2.2.1.x
>
>
> While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base.
> * In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement.
> * BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (OPENJPA-2292) Reduce object allocations
Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Curtis resolved OPENJPA-2292.
----------------------------------
Resolution: Fixed
> Reduce object allocations
> -------------------------
>
> Key: OPENJPA-2292
> URL: https://issues.apache.org/jira/browse/OPENJPA-2292
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc, performance
> Affects Versions: 2.3.0, 2.2.1, 2.2.1.0
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.3.0, 2.2.1, 2.2.1.0
>
>
> While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base.
> * In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement.
> * BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (OPENJPA-2292) Reduce object allocations
Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490894#comment-13490894 ]
Rick Curtis edited comment on OPENJPA-2292 at 11/6/12 3:29 PM:
---------------------------------------------------------------
Committed code to trunk, 2.2.x, and 2.2.1.x for the JDBCStoreManager change.
was (Author: curtisr7):
Committed code to trunk, 2.2.x, and 2.2.1.x.
> Reduce object allocations
> -------------------------
>
> Key: OPENJPA-2292
> URL: https://issues.apache.org/jira/browse/OPENJPA-2292
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc, performance
> Affects Versions: 2.3.0, 2.2.1, 2.2.1.x
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.3.0, 2.2.1, 2.2.1.x
>
>
> While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base.
> * In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement.
> * BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OPENJPA-2292) Reduce object allocations
Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Curtis updated OPENJPA-2292:
---------------------------------
Fix Version/s: (was: 2.2.1)
2.2.2
> Reduce object allocations
> -------------------------
>
> Key: OPENJPA-2292
> URL: https://issues.apache.org/jira/browse/OPENJPA-2292
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc, performance
> Affects Versions: 2.3.0, 2.2.1, 2.2.1.1
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.3.0, 2.2.2, 2.2.1.1
>
>
> While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base.
> * In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement.
> * BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (OPENJPA-2292) Reduce object allocations
Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Curtis reopened OPENJPA-2292:
----------------------------------
> Reduce object allocations
> -------------------------
>
> Key: OPENJPA-2292
> URL: https://issues.apache.org/jira/browse/OPENJPA-2292
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc, performance
> Affects Versions: 2.3.0, 2.2.1, 2.2.1.x
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.3.0, 2.2.1, 2.2.1.x
>
>
> While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base.
> * In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement.
> * BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (OPENJPA-2292) Reduce object allocations in
JDBCStoreManager
Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Curtis resolved OPENJPA-2292.
----------------------------------
Resolution: Fixed
Assignee: Rick Curtis
> Reduce object allocations in JDBCStoreManager
> ---------------------------------------------
>
> Key: OPENJPA-2292
> URL: https://issues.apache.org/jira/browse/OPENJPA-2292
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc, performance
> Affects Versions: 2.3.0, 2.2.1, 2.2.1.x
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.3.0, 2.2.1, 2.2.1.x
>
>
> While doing some performance analysis we have found that we can reduce object allocations in JDBCStoreManager by creating a simple pool(list) of CancelPreparedStatement/CancelStatement.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OPENJPA-2292) Reduce object allocations
Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491628#comment-13491628 ]
Rick Curtis commented on OPENJPA-2292:
--------------------------------------
Committed change to use java.util.IdentityHashMap in BrokerImpl.initializeOperatingSet to reduce object allocations to trunk, 2.2.x, and 2.2.1.x
> Reduce object allocations
> -------------------------
>
> Key: OPENJPA-2292
> URL: https://issues.apache.org/jira/browse/OPENJPA-2292
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc, performance
> Affects Versions: 2.3.0, 2.2.1, 2.2.1.0
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.3.0, 2.2.1, 2.2.1.0
>
>
> While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base.
> * In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement.
> * BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira