DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10246>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10246 dynamic classdynamic class/jar loading mechanism ------- Additional Comments From [EMAIL PROTECTED] 2002-07-01 08:57 ------- I tried google, but only turned up a few words on class unloading at jython.org. So I asked a colleague who works on IBM's JVM and knows a bit about class loading. Here's his reply... Glyn, I have read the Jython doc "http://www.jython.org/docs/jreload.html" (interesting English) but I'll concentrate on the JVM implementation. The only definitive statement on the subject is in the VM Spec "http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html". It's brief (more so that the 1st edition): 2.17.8 Unloading of Classes and Interfaces A class or interface may be unloaded if and only if its class loader is unreachable. The bootstrap class loader is always reachable; as a result, system classes may never be unloaded. The Jython doc also mentions classes loaded from CLASSPATH not being unloaded. While this is likely true in practice it is not guaranteed. The use of "-verbose:class" to monitor unloading is also unreliable as we don't issue any messages in the IBM JVM. Matthew Webster JVM New Technology Team Leader Java Technology Centre, MP146 IBM Hursley Park, Winchester, SO21 2JN, England Telephone: +44 196 2816139 (external) 246139 (internal) Email: Matthew Webster/UK/IBM @ IBMGB, [EMAIL PROTECTED] http://w3.hursley.ibm.com/~websterm/