[jboss-jira] [JBoss JIRA] (DROOLS-226) Thread Safety issues for bitmasks and StagedLeftTuples
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Fri Aug 16 21:45:26 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797439#comment-12797439 ]
Mark Proctor commented on DROOLS-226:
-------------------------------------
Bitmasks were using volatile, which actually is not thread safe.
StagedLeftTuples while OK now, could potentially had thread safety issues in the future. So we instead "takeAll" during a sync block in the rule eval, to avoid it. It's always added back after the loop.
> Thread Safety issues for bitmasks and StagedLeftTuples
> ------------------------------------------------------
>
> Key: DROOLS-226
> URL: https://issues.jboss.org/browse/DROOLS-226
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Mark Proctor
> Assignee: Mark Proctor
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list