[jboss-jira] [JBoss JIRA] (DROOLS-874) Allow to configure configure and disable constraints jitting

Mario Fusco (JIRA) issues at jboss.org
Fri Aug 7 08:13:02 EDT 2015


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

Mario Fusco updated DROOLS-874:
-------------------------------
    Description: 
Prior to Java 8 it was possible to disable constraints jitting by setting the drools.permgenThreshold to 0. Since with Java 8 they removed the PermGen space, is no longer possible to control and disable constraints jitting.

It is required to provide a new option, named drools.jittingThreshold, through which it will be possible to configure after how many interpreted evaluations a constraint should be jitted. Special values for this property will be:

0 -> force immediate synchronous jitting (it's adviced to use this only for testing purposes).

-1 (or any other negative number) -> disable jitting

Default value is 20.

  was:
Prior to Java 8 it was possible to disable constraints jitting by setting the drools.permgenThreshold to 0. Since with Java 8 they removed the PermGen space, is no longer possible to control and disable constraints jitting.

It is required to provide a new option, named drools.jittingThreshold, through which it will be possible to configure after how many interpreted evaluations a constraint should be jitted. Special values for this property will be:

0 -> force immediate synchronous jitting (it's advice to use this only for testing purposes).

-1 (or any other negative number) -> disable jitting

Default value is 20.



> Allow to configure configure and disable constraints jitting
> ------------------------------------------------------------
>
>                 Key: DROOLS-874
>                 URL: https://issues.jboss.org/browse/DROOLS-874
>             Project: Drools
>          Issue Type: Feature Request
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>             Fix For: 6.3.0.Final
>
>
> Prior to Java 8 it was possible to disable constraints jitting by setting the drools.permgenThreshold to 0. Since with Java 8 they removed the PermGen space, is no longer possible to control and disable constraints jitting.
> It is required to provide a new option, named drools.jittingThreshold, through which it will be possible to configure after how many interpreted evaluations a constraint should be jitted. Special values for this property will be:
> 0 -> force immediate synchronous jitting (it's adviced to use this only for testing purposes).
> -1 (or any other negative number) -> disable jitting
> Default value is 20.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list