commit | 741a621f9028f92ebd8b0872ad500b5e7f8e28bb | [log] [tgz] |
---|---|---|
author | peter royal <proyal@apache.org> | Fri Apr 26 19:37:36 2024 +0000 |
committer | Andy Seaborne <andy@apache.org> | Sat Apr 27 14:41:43 2024 +0100 |
tree | ee488ba0b30f6e73abc88ae1c4069da0657230bd | |
parent | 3385a6e9b4f5e2c08d9bbef09cec3ed36cccf202 [diff] |
GH-2382 - Track engine instances in a Set rather than a List 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.
Welcome to Apache Jena, a Java framework for writing Semantic Web applications.
See https://jena.apache.org/ for the project website, including documentation.
The codebase for the active modules is in git: