openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-439) Performance degradation in multi-transaction operations
Date Sat, 10 Nov 2007 01:00:50 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Patrick Linskey updated OPENJPA-439:
------------------------------------

    Attachment: OPENJPA-439.patch

Moving most of the BrokerImpl collections to recreate instead of clear sets and maps. I left
a few probably-small collections as-is.

It'd be great to get some numbers about the impact of this patch.

> Performance degradation in multi-transaction operations
> -------------------------------------------------------
>
>                 Key: OPENJPA-439
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-439
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1, 1.0.2, 1.1.0
>            Reporter: Patrick Linskey
>             Fix For: 1.1.0
>
>         Attachments: OPENJPA-439.patch
>
>
> Reusing a Broker for multiple transactions / persistence contexts demonstrates a performance
degradation, possibly due to explicit calls to clear sets and maps, rather than just dereferencing
them.
> Discussion: http://www.nabble.com/Performance-drop-in-AbstractHashedMap.clear%28%29-tf4769771.html#a13656730

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


Mime
View raw message