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