You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Joe Bergmark (JIRA)" <ji...@apache.org> on 2010/07/01 15:46:18 UTC

[jira] Commented: (OWB-397) Add helper method and some debug to WebBeansFinder

    [ https://issues.apache.org/jira/browse/OWB-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884275#action_12884275 ] 

Joe Bergmark commented on OWB-397:
----------------------------------

Not sure why debug calls wrapped in "ifDebugEnabled" would cause performance hits in an enviroment with debug disabled?  I assume in your production environment you don't run with debug turned on.  At the very worst, it seems we could turn this into a finer level of trace rather than removing it entirely.

> Add helper method and some debug to WebBeansFinder
> --------------------------------------------------
>
>                 Key: OWB-397
>                 URL: https://issues.apache.org/jira/browse/OWB-397
>             Project: OpenWebBeans
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: M4
>            Reporter: Joe Bergmark
>            Assignee: Mark Struberg
>            Priority: Minor
>             Fix For: 1.0.0-CR1
>
>
> Add some debug to WebBeansFinder's getSingletonInstance method to help isolate issues when the classloader being passed in isn't what you expect.  Also adding a small helper method that acts just like getSingletonInstance, but that will not attempt to create an instance if one doesn't already exist inside of the map.

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