[jboss-jira] [JBoss JIRA] (JBAOP-793) Enable AspectManager's write lock during aspect loading

Flavia Rainone (JIRA) issues at jboss.org
Tue Jun 23 00:05:03 EDT 2015


     [ https://issues.jboss.org/browse/JBAOP-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flavia Rainone reassigned JBAOP-793:
------------------------------------

    Assignee:     (was: Flavia Rainone)


> Enable AspectManager's write lock during aspect loading
> -------------------------------------------------------
>
>                 Key: JBAOP-793
>                 URL: https://issues.jboss.org/browse/JBAOP-793
>             Project: JBoss AOP
>          Issue Type: Task
>    Affects Versions: 1.5.5 CP04, 1.5.6.GA, 2.2.1.Alpha2
>            Reporter: Flavia Rainone
>             Fix For: 1.5.7.GA, 2.1.6.CP04
>
>
> Both AspectXMLLoader and AspectAnnotationLoader eventually trigger several operations at AspectManager that require write lock.
> Between two operations, on a multi-threaded loadtime-weaving scenario, a class loading in the Aspect***Loader thread may result in a dead lock.
> To avoid this scenario, we can enable the write during the entire aspect loading operation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list