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

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Mon May 24 17:20:54 EDT 2010


Enable AspectManager's write lock during aspect loading
-------------------------------------------------------

                 Key: JBAOP-793
                 URL: https://jira.jboss.org/browse/JBAOP-793
             Project: JBoss AOP
          Issue Type: Task
      Security Level: Public (Everyone can see)
    Affects Versions: 2.2.1.Alpha2, 1.5.6.GA, 1.5.5 CP04
            Reporter: Flavia Rainone
            Assignee: Flavia Rainone
             Fix For: 1.5.7.GA, 2.1.6 CP01


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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list