openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (Commented) (JIRA)" <>
Subject [jira] [Commented] (OPENJPA-2167) Misc changes to improve flush() path performance
Date Mon, 02 Apr 2012 20:49:25 GMT


Kevin Sutter commented on OPENJPA-2167:

Using a HashSet for the cancel-able prepared statements was overkill.  In most cases, this
would only be a single entry.  So, I'm going to change this to a List with an initial size
of 1.  We can then test whether each Statement needs to be canceled instead of relying on
the Set behavior.
> Misc changes to improve flush() path performance
> ------------------------------------------------
>                 Key: OPENJPA-2167
>                 URL:
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: kernel, performance
>    Affects Versions: 2.3.0, 2.2.1
>            Reporter: Kevin Sutter
>            Assignee: Kevin Sutter
> In StateManagerImpl.proxyFields(), we blindly replace the proxy fields as long as they
loaded.  We can be slightly more efficient if we also verify that the field has been dirtied
before doing the replacement.
> The original intent of this JIRA was to just resolve the issue with proxyFields.  But,
as I continue to dive into this flush() path, there are a few other minor updates that need
to be done (reference the comments on this JIRA).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message