[jboss-jira] [JBoss JIRA] (WFCORE-2927) Cut the number of java.util.RegularEnumSet used for attribute and operation flags and ModelTypeValidators

Brian Stansberry (JIRA) issues at jboss.org
Thu Jun 8 09:33:00 EDT 2017


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

Brian Stansberry commented on WFCORE-2927:
------------------------------------------

PR reduces the number of instances to 227 with about 14K of retained heap.

> Cut the number of java.util.RegularEnumSet used for attribute and operation flags and ModelTypeValidators
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-2927
>                 URL: https://issues.jboss.org/browse/WFCORE-2927
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>
> A heap dump of full wildfly standalone-full-ha shows > 14K enum sets with retained heap of over 566K. The bulk of these are for attribute or operation definitions or instances of ModelTypeValidator.
> The vast majority of these contain the same few combinations of elements, so AD / OD / ModelTypeValidator should detect and use a single instance of these.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list