[jboss-jira] [JBoss JIRA] (DROOLS-3385) Stateful session is not thread safe for update operation on JDK11
Radovan Synek (Jira)
issues at jboss.org
Thu Nov 29 02:43:00 EST 2018
[ https://issues.jboss.org/browse/DROOLS-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radovan Synek updated DROOLS-3385:
----------------------------------
Summary: Stateful session is not thread safe for update operation on JDK11 (was: Stateful session not thread safe for update operation)
> Stateful session is not thread safe for update operation on JDK11
> -----------------------------------------------------------------
>
> Key: DROOLS-3385
> URL: https://issues.jboss.org/browse/DROOLS-3385
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.16.0.Final
> Reporter: Radovan Synek
> Assignee: Mario Fusco
> Priority: Critical
>
> We have a test failure in multithreaded solving in OptaPlanner (please see the linked issue for details).
> java.util.ConcurrentModificationException: null
> at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1134)
> at org.drools.core.impl.KnowledgeBaseImpl.getOrCreateExactTypeDeclaration(KnowledgeBaseImpl.java:1458)
> at org.drools.core.common.NamedEntryPoint.update(NamedEntryPoint.java:324)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.update(StatefulKnowledgeSessionImpl.java:1570)
> at org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.update(DroolsScoreDirector.java:254)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list