osi opened a new pull request, #2432:
URL: https://github.com/apache/jena/pull/2432
The collection of active interpreters is removed from randomly - as each one
completes. This results in random removals from the linked list, a O(n)
operation.
As the number of active interpreters grows, so does this time. This happens
within a synchronized block, which can stall the work of other threads when a
model is shared across threads for reads.
GitHub issue resolved #2382
----
- [ ] Tests are included.
- [ ] Documentation change and updates are provided for the [Apache Jena
website](https://github.com/apache/jena-site/)
- [X] Commits have been squashed to remove intermediate development commit
messages.
- [X] Key commit messages start with the issue number (GH-xxxx)
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](https://www.apache.org/licenses/contributor-agreements.html).
----
See the [Apache Jena "Contributing"
guide](https://github.com/apache/jena/blob/main/CONTRIBUTING.md).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]