apache / jena

Apache Jena
https://jena.apache.org/
Apache License 2.0
1.12k stars 653 forks source link

GH-2787: Use lazy holder pattern for system initialization #2807

Closed afs closed 1 month ago

afs commented 1 month ago

Use the lazy holder pattern to perform system initialization. Set `JenaSystem.initialized" flag early to avoid deadlocks.


By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.