[jboss-jira] [JBoss JIRA] Closed: (SECURITY-493) AbstractAuthorizationModule loadClass for delegates is a bottleneck

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Tue Apr 6 12:57:37 EDT 2010


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

Anil Saldhana closed SECURITY-493.
----------------------------------

    Resolution: Done


We have a static map of classes loaded for caching the delegate classes.

===============
anil at 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 at 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

        


More information about the jboss-jira mailing list