You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2020/03/19 09:36:00 UTC
[jira] [Created] (JENA-1866) SPARQLQueryProcessor: Need volatile to
make method thread-safe
Andy Seaborne created JENA-1866:
-----------------------------------
Summary: SPARQLQueryProcessor: Need volatile to make method thread-safe
Key: JENA-1866
URL: https://issues.apache.org/jira/browse/JENA-1866
Project: Apache Jena
Issue Type: Task
Components: Fuseki
Affects Versions: Jena 3.14.0
Reporter: Andy Seaborne
Assignee: Andy Seaborne
Fix For: Jena 3.15.0
This ticket tracks https://github.com/apache/jena/pull/709 ("intrigus-lgtm" on GitHub).
There needs to be a "happens before" barrier so that any Set and the objects it contains created by {{generateAcceptedParams()}} is completed and available to other threads.
Making {{acceptedParams_}} volatile achieves this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)