Salikh Zakirov wrote:
> Ah, I think I got it.
Yep.
> 3) trace the heap
> 4) scan vtable marks and "revive" marked class unloaders, by adding the strong root
> from the previously collected "unload list". Remove the revived classloaders from
unload list.
> 5) repeat steps (3) and (4) until there is no classloaders to revive
As long as it is understood that the repeated (3) is not a full trace.
It's only a trace starting from the revived roots. [This is important
in evaluating the total work done].
> The voting definitely was premature, as it turns out that even the design under discussion
> can be elaborated to multiple substantially different designs.
Yes, you're right.
Etienne
--
Etienne M. Gagnon, Ph.D. http://www.info2.uqam.ca/~egagnon/
SableVM: http://www.sablevm.org/
SableCC: http://www.sablecc.org/