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

Craig Russell commented on OPENJPA-160:
---------------------------------------

As you've coded it, each instance of ObjectValue gets its own Map. Does a given 
instance need more than one factory? It could just be stored as a member 
instead of a Map.

On the other hand, if the Map is static, it should probably be a Concurrent Map 
and account for garbage collecting undeployed classes.


> Reuse BrokerImpl objects
> ------------------------
>
>                 Key: OPENJPA-160
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-160
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Michael Dick
>         Attachments: openjpa-160-patch.txt, perf2.jpg, perf3.jpg
>
>


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

Reply via email to