https://issues.apache.org/bugzilla/show_bug.cgi?id=48903

Konstantin Kolinko <knst.koli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical

--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> 2010-03-13 
03:07:26 UTC ---
Digging further I should say that
1. There is, indeed, lock on the ClassLoader in the native code.

2. There is "experimental" option to turn off that locking. E.g., described
here:
http://underlap.blogspot.com/2006/11/experimental-fix-for-sunbug-4670071.html
and thus Tomcat is not the first one to run into such an issue.

3. Evaluation part of
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4670071
mentions API change to allow parallel classloading, and API change actually
means that it will be no sooner than JDK7. See

http://java.sun.com/javase/7/docs/api/java/lang/ClassLoader.html
methods registerAsParallelCapable() and getClassLoadingLock(String)


While I was evaluating this, several comments were added to bug 48694,
especially attachment 25124, which is another sample of a deadlock (in that
case JRE is 1.6.0_13).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to