[jboss-jira] [JBoss JIRA] (WFCORE-3457) Reduce class loading of Elytron subsystem

Darran Lofthouse (JIRA) issues at jboss.org
Mon Jan 15 07:24:00 EST 2018


    [ https://issues.jboss.org/browse/WFCORE-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13514972#comment-13514972 ] 

Darran Lofthouse commented on WFCORE-3457:
------------------------------------------

I have reduced the scope of this down, as has been identified elsewhere a lot of the class count is caused by a single resource needing to implement multiple interfaces for different reasons i.e. resource definition, add handler, remove handler etc...

I could refactor a lot more to try and reduce what is loaded by converting the add handlers into some kind of factory so we only look up the impl if a resource exists but TBH we end up with either more classes or big classes which both impact on metaspace.


> Reduce class loading of Elytron subsystem
> -----------------------------------------
>
>                 Key: WFCORE-3457
>                 URL: https://issues.jboss.org/browse/WFCORE-3457
>             Project: WildFly Core
>          Issue Type: Task
>          Components: Security
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>             Fix For: 4.0.0.Alpha6
>
>




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list