From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Thu Dec 17 1998 - 15:53:32 EST
On Dec 17, 1998, Godmar Back <gback@cs.utah.edu> wrote:
>> So the ClassLoader actually keeps its Classes alive, via the class
>> entry pool? If it does not, I think it should.
> So it does keep them alive since the class entry pool is not walked.
> Tell me why it should.
then, there's http://java.sun.com/docs/books/jls/clarify.html:
Class Unloading
Questions have arisen with respect to the interpretation of JLS 12.8
"Unloading of Classes and Interfaces". The following statement should
help clarify the issue:
A class or interface may be unloaded if and only if its class loader
is unreachable (the definition of unreachable is given in JLS
12.6.1). Classes loaded by the bootstrap loader may not be unloaded.
-- Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org} oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org} Universidade Estadual de Campinas, SP, Brasil
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:20 EDT