[
https://issues.apache.org/jira/browse/OFBIZ-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Le Roux closed OFBIZ-4290.
----------------------------------
Resolution: Fixed
Fix Version/s: SVN trunk
Assignee: Jacques Le Roux
Thanks Philippe,
Based on http://stackoverflow.com/questions/299068/how-slow-are-java-exceptions
I agree
Your patch is in trunk at r1126379
> UtilCache#getPropertyParam should test property existence instead of rely on
> MissingResourceException
> ------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-4290
> URL: https://issues.apache.org/jira/browse/OFBIZ-4290
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Philippe Mouawad
> Assignee: Jacques Le Roux
> Priority: Minor
> Labels: performance
> Fix For: SVN trunk
>
> Attachments: patch-OFBIZ-4290.patch
>
>
> Hello,
> UtilCache#getPropertyParam should call res.containsKey instead of relying on
> catching MissingResourceException, which will reduce number of Exceptions
> created so CPU.
> Regards
> Philippe
> http://www.ubik-ingenierie.com
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira