[
https://issues.apache.org/jira/browse/OPENJPA-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Sutter updated OPENJPA-2167:
----------------------------------
Description:
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).
was: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.
Summary: Misc changes to improve flush() path performance (was: Only
reload proxy fields if they are dirty)
> Misc changes to improve flush() path performance
> ------------------------------------------------
>
> Key: OPENJPA-2167
> URL: https://issues.apache.org/jira/browse/OPENJPA-2167
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira