openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2164) Don't setPCState if field requested is already loaded
Date Fri, 25 May 2012 14:38:24 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283482#comment-13283482
] 

Rick Curtis commented on OPENJPA-2164:
--------------------------------------

There is on TODO in the that could probably be addressed.

// TODO -- what about version fields? Could probably UT this


                
> Don't setPCState if field requested is already loaded
> -----------------------------------------------------
>
>                 Key: OPENJPA-2164
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2164
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: Enhance, kernel, performance
>    Affects Versions: 2.3.0, 2.2.1
>            Reporter: Kevin Sutter
>            Assignee: Kevin Sutter
>             Fix For: 2.3.0, 2.2.1
>
>
> Currently, our getter method logic (enhanced byte code plus our statemanager code) has
some unnecessary overhead when processing fields that have already been loaded.  We're looking
at streamlining that processing by using a simple check in the beforeRead method to determine
if the field has already been loaded.  If it has, then just return and let it return the value
already present.  If it has not been loaded, then we'll go through the normal processing.

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

        

Mime
View raw message