[ 
https://issues.apache.org/jira/browse/JENA-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13525992#comment-13525992
 ] 

Stephen Owens commented on JENA-244:
------------------------------------

Found a way that the work around is not safe. I had ended up doing a 
pre-emptive prepare and all was well for a while, as long as you don't need to 
trigger a new dynamic prepare in a multi-threaded use case. It turns out 
however that removing anything from the model triggers the need for the prepare 
and my 'static' model wasn't perfectly static. Back to occasional deadlocks. 

I've tried this in 2.7.4 and it is still a current issue, reviewing the code 
further and I'll post back if I find something. 
                
> Deadlock during SPARQL execution on an inference model
> ------------------------------------------------------
>
>                 Key: JENA-244
>                 URL: https://issues.apache.org/jira/browse/JENA-244
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>            Reporter: Stephen Owens
>         Attachments: JenaDeadLockTest.java, JenaDeadLockTest.java
>
>


--
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

Reply via email to