[
https://issues.apache.org/jira/browse/OPENJPA-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840377#action_12840377
]
Rick Curtis commented on OPENJPA-1549:
--------------------------------------
Committed revision 918245 to trunk.
For this change I added the method getProxyFields() to ClassMetaData, which
keeps track of the fields which need to be wrappered by a proxy. Now when the
StateManagerImpl.proxy() is invoke, we only attempt to proxy fields that are of
the proper type. This has shown a decent improvement in some perf testing.
> StateManagerImpl performance improvement
> ----------------------------------------
>
> Key: OPENJPA-1549
> URL: https://issues.apache.org/jira/browse/OPENJPA-1549
> Project: OpenJPA
> Issue Type: Improvement
> Components: kernel
> Affects Versions: 1.2.3, 1.3.0, 2.0.0
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.0.0
>
>
> I found that we could be much more efficient in
> StateManagerImpl.proxyFields(boolean reset, boolean replaceNull). As it is
> implemented today, we process all fields even though we only need to perform
> work on fields that are of the type Calendar, Collection, Date, Map, Object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.