[jboss-jira] [JBoss JIRA] (WFCORE-3140) Avoid pointless Resource.Tools.readModel during boot time PersistenceResource creation

Brian Stansberry (JIRA) issues at jboss.org
Thu Aug 3 12:27:00 EDT 2017


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

Brian Stansberry commented on WFCORE-3140:
------------------------------------------

On my laptop this cuts out a bit more than 20ms from boot and also should eliminate some garbage generation.

> Avoid pointless Resource.Tools.readModel during boot time PersistenceResource creation
> --------------------------------------------------------------------------------------
>
>                 Key: WFCORE-3140
>                 URL: https://issues.jboss.org/browse/WFCORE-3140
>             Project: WildFly Core
>          Issue Type: Task
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>
> ModelControllerImpl.writeModel is doing a complete read of the resource tree during boot, even though the persister is not going to use the data. Skipping this will save some ms.



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


More information about the jboss-jira mailing list