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 2012/07/15 11:19:33 UTC
[jira] [Commented] (OWB-672) Decorators creates Stackoverflow or
NPE if under heavy load
[ https://issues.apache.org/jira/browse/OWB-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414597#comment-13414597 ]
Mark Struberg commented on OWB-672:
-----------------------------------
I digged deeper and the problem is that we have _weird_ handling for injected @Delegate injection points.
>From the definition of all the Interceptor/Delegate handling (Interceptors always first, Delegates later) plus the the fact that a Delegate is (like an Interceptor) always an 1:1 dependent bean to the delegated contextual instance it's clear to me that the delegation point is a contextual instance and NOT a contextual reference. But we currently do inject the proxy instead of a direct instance. And later we do some really sick ThreadLocal handling to bypass it again. WTF?
> Decorators creates Stackoverflow or NPE if under heavy load
> -----------------------------------------------------------
>
> Key: OWB-672
> URL: https://issues.apache.org/jira/browse/OWB-672
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Interceptor and Decorators
> Affects Versions: 1.1.4
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Priority: Critical
> Fix For: 1.1.5
>
> Attachments: OWB-672-test.patch
>
>
> We have a problem in our Decorator handling under heavy load. This is most probably caused by setting the DelegateHandler only at invocation time (and over and over again).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira