openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <>
Subject [jira] Commented: (OPENJPA-1549) StateManagerImpl performance improvement
Date Tue, 02 Mar 2010 23:12:27 GMT


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:
>             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,

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

View raw message