Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2164

Don't setPCState if field requested is already loaded

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.3.0
    • Fix Version/s: 2.2.1, 2.3.0
    • Component/s: Enhance, kernel, performance
    • Labels:
      None

      Description

      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.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              kwsutter Kevin W. Sutter
              Reporter:
              kwsutter Kevin W. Sutter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment