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

Document classloading issues workaround in reference docs #146

Closed
timowest opened this issue May 12, 2012 · 1 comment
Closed

Document classloading issues workaround in reference docs #146

timowest opened this issue May 12, 2012 · 1 comment

Comments

@timowest
Copy link
Member

@timowest timowest commented May 12, 2012

When Q-types with circular dependencies are loaded from multiple threads there is a small risk of dealocks.

https://blogs.oracle.com/jrockit/entry/class_loading_deadlocks_1

One solution is to add a static initialization with the following code

ClassPathUtils.scanPackage(Thread.currentThread().getContextClassLoader(), packageToLoad);
@timowest
Copy link
Member Author

@timowest timowest commented May 25, 2012

Released in 2.6.0

@timowest timowest closed this May 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant