[jboss-jira] [JBoss JIRA] (WFLY-12373) Fix contended MSC Supplier.get() call in Jsr299BindingsInterceptor.processInvocation

Brian Stansberry (Jira) issues at jboss.org
Tue Aug 13 14:56:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-12373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770420#comment-13770420 ] 

Brian Stansberry commented on WFLY-12373:
-----------------------------------------

I'm also a bit concerned about

https://github.com/wildfly/wildfly/pull/11862/files#diff-ba3a2d6b6f5b9f48cd04f301c20ea1c0

and 

https://github.com/wildfly/wildfly/pull/11862/files#diff-a03cbe645209f431d4aab4d8f8ecc510L78

and 

https://github.com/wildfly/wildfly/pull/11862/files#diff-6e84d97385b372abdc10b19178372e4bL89

> Fix contended MSC Supplier.get() call in Jsr299BindingsInterceptor.processInvocation
> ------------------------------------------------------------------------------------
>
>                 Key: WFLY-12373
>                 URL: https://issues.jboss.org/browse/WFLY-12373
>             Project: WildFly
>          Issue Type: Sub-task
>          Components: CDI / Weld
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Major
>
> WFLY-11381 changed Jsr299BindingsInterceptor.processInvocation from using InjectValue.getValue() to using Supplier.get() resulting in the kind of concurrency problem noted in the parent issue.
> Possible solutions are to revert some part of that change or to cache the value in the interceptor.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list