Skip to content
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

Fix JNDI concurrency issue and other improvements #107

Merged
merged 3 commits into from
Apr 30, 2020

Conversation

sebratton
Copy link
Contributor

Fix concurrency issue in CachingTracker. Made changes to the BundleTracker setup to increase the set of client bundles tracked.

Protect HashMap from access by 2nd thread until it's fully populated.

refine fix to concurrency issue
… caches.

Use system bundle context to track more bundles. Extend the cache availbiliy to JNDI calls during bundle start()/stop() methods. The tracker's bundleRemoved is deleted since it will only be called after a bundle transitions from STOPPING->STOPPED at which point the framework has done cleanup and calling ungetService is not needed.
@sebratton sebratton merged commit feb3a57 into apache:trunk Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant