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

[jira] Reopened: (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:all-tabpanel ]

Mark Struberg reopened OWB-397:
-------------------------------


Hi!

It seems this introduced some real performance problems.

My business tests went down from 0.04ms to 1.6ms per invocation.
The classloader caching is pretty good otoh. So I'd say we keep this part but remove the logger again. This simply gets called way too often (few million times per second under load).

> 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: Joe Bergmark
>            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.