[
https://jira.jboss.org/jira/browse/SECURITY-493?page=com.atlassian.jira.p...
]
Anil Saldhana closed SECURITY-493.
----------------------------------
Resolution: Done
We have a static map of classes loaded for caching the delegate classes.
===============
anil@localhost:~/security/security-jboss-sx/branches/Branch_2_0$ svn ci -m
"SECURITY-493; cache the loaded class instances"
Sending
jbosssx/src/main/java/org/jboss/security/authorization/modules/AbstractAuthorizationModule.java
Transmitting file data .
Committed revision 103585.
===========================================
and
==============================
anil@localhost:~/picketbox/trunk$ svn ci -m "SECURITY-493; cache the loaded class
instances"
Sending
security-jboss-sx/jbosssx/src/main/java/org/jboss/security/authorization/modules/AbstractAuthorizationMole.java
Transmitting file data .
Committed revision 73.
===============================
AbstractAuthorizationModule loadClass for delegates is a bottleneck
-------------------------------------------------------------------
Key: SECURITY-493
URL:
https://jira.jboss.org/jira/browse/SECURITY-493
Project: PicketBox (JBoss Security and Identity Management)
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JBossSX
Affects Versions: JBossSecurity_2.0.4.SP3, PicketBox_v3_0_beta4
Reporter: Anil Saldhana
Assignee: Anil Saldhana
Fix For: JBossSecurity_2.0.4.SP4, PicketBox_v3_0_beta5
Since loadClass is a synchronized operation on the classloader, the delegate loadclass is
a bottleneck in AbstractAuthorizationModule.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira