Document classloading issues workaround in reference docs #146

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

Comments

Projects
None yet
1 participant
@timowest
Member

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

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest May 25, 2012

Member

Released in 2.6.0

Member

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