[jboss-jira] [JBoss JIRA] (DROOLS-1581) Performance degradation while compiling eval predicates

Mario Fusco (JIRA) issues at jboss.org
Thu May 25 10:21:00 EDT 2017


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

Mario Fusco commented on DROOLS-1581:
-------------------------------------

The change in this line https://github.com/kiegroup/drools/commit/8eadcaaff127524235f3f94484558e45ebbcfdd2#diff-3779eaf20b5e760d54ee8b06cabd85c2R57 and in particular that 

{code}
generator.getInternalClassName()
{code}

causes unnecessary lookup on the TypeResolver and then on the ClassLoader of syntetic class names like the following

com.thales.fourlm.brms.automatedrules.Rule_FullLine_Suspension$u46$Stations$u46$Locations$u58$_SSR_lines$u58$_KeyCIS$u46$Z1$u46$Z2176117979Eval1Invoker

that largely slows down the generation of the bytecode of the eval invoker.

> Performance degradation while compiling eval predicates
> -------------------------------------------------------
>
>                 Key: DROOLS-1581
>                 URL: https://issues.jboss.org/browse/DROOLS-1581
>             Project: Drools
>          Issue Type: Bug
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>




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


More information about the jboss-jira mailing list