-
Notifications
You must be signed in to change notification settings - Fork 37
Issue #430: Resolving type system imports through sp is slows things down too much #433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #430: Resolving type system imports through sp is slows things down too much #433
Conversation
…own too much - Clean up ClassLoaderUtils a bit - Added missing since version to deprecation - Consolidate redundant code inside RelativePathResolver_impl
…own too much - Allow UimaBndPlugin to dive into transitive imports and process them as well
…own too much - Make transitive import resoving optional - Added more debug logging
…em-imports-through-SPIs-slows-things-down-too-much * release/3.6.x: Issue #431: Issue using SPI-enabled type systems embedded into PEARs Issue #431: Issue using SPI-enabled type systems embedded into PEARs Issue #431: Issue using SPI-enabled type systems embedded into PEARs Issue #431: Issue using SPI-enabled type systems embedded into PEARs Issue #431: Issue using SPI-enabled type systems embedded into PEARs Issue #431: Issue using SPI-enabled type systems embedded into PEARs
…em-imports-through-SPIs-slows-things-down-too-much * release/3.6.x: Issue #431: Issue using SPI-enabled type systems embedded into PEARs
…into refactoring/430-Resolving-type-system-imports-through-SPIs-slows-things-down-too-much * refactoring/435-Improve-performance-of-ImportResolver: Issue #435: Improve performance of ImportResolver Issue #435: Improve performance of ImportResolver Issue #435: Improve performance of ImportResolver Issue #435: Improve performance of ImportResolver Issue #435: Improve performance of ImportResolver Issue #435: Improve performance of ImportResolver % Conflicts: % uimaj-core/src/main/java/org/apache/uima/resource/impl/RelativePathResolver_impl.java
…em-imports-through-SPIs-slows-things-down-too-much * release/3.6.x: Issue #435: Improve performance of ImportResolver
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR addresses performance issues with type system imports by optimizing import resolution and adding configurable transitive import processing. The changes focus on reducing redundant processing and providing better control over import depth.
Key changes:
- Enhanced UimaBndPlugin to support transitive import processing with optional depth control
- Consolidated redundant ClassLoader resolution logic in ClassLoaderUtils
- Added proper deprecation annotations with version information
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| ResourceManager_impl.java | Added missing deprecation version annotation |
| RelativePathResolver.java | Added deprecation version and updated implementation |
| RelativePathResolver_impl.java | Moved ClassLoader assignment and removed redundant javadoc |
| ClassLoaderUtils.java | Consolidated duplicate ClassLoader resolution logic |
| GenerateDescriptorsMojo.java | Minor code modernization using var |
| UimaBndPlugin.java | Major enhancement adding transitive import support and configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
uima-bnd-plugin/src/main/java/org/apache/uima/tools/bnd/UimaBndPlugin.java
Outdated
Show resolved
Hide resolved
uima-bnd-plugin/src/main/java/org/apache/uima/tools/bnd/UimaBndPlugin.java
Outdated
Show resolved
Hide resolved
…down too much - Cleaning up
What's in the PR
How to test manually
Automatic testing
Documentation
Organizational
Only dependencies under approved licenses are allowed. LICENSE and NOTICE files in the respective modules where dependencies have been added as well as in the project root have been updated.