[jboss-jira] [JBoss JIRA] (DROOLS-5227) Investigate performance degradation of fact type API usage in drools 7

Mario Fusco (Jira) issues at jboss.org
Thu Apr 9 08:24:10 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved DROOLS-5227.
---------------------------------
    Resolution: Done


Fixed by https://github.com/kiegroup/drools/commit/88e4ab47fe173739866a3a54c22c5ddfb04bf0fe

> Investigate performance degradation of fact type API usage in drools 7
> ----------------------------------------------------------------------
>
>                 Key: DROOLS-5227
>                 URL: https://issues.redhat.com/browse/DROOLS-5227
>             Project: Drools
>          Issue Type: Task
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>            Priority: Major
>
> In Drools 7 a big amount of time is spent to manage a NoSuchFieldExceptions in Class.getDeclaredField. This happens when client code tries to get/set a value of a non-existent field of a Fact Type: while in Drools 6 it immediately returns a null, in Drools 7 causes the execution of a recursive routine introspecting the class itself. Very likely this change behaviour has been introduced by this commit https://github.com/kiegroup/drools/commit/435f7ead86e20b361e25abd60f1b228b5816ede1



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list