Yes, I thought about this breaking MMTk too. BTW, I don't know if Jikes does
class unloading, but they may get automatic unloading almost for free since
it is all java?

I am not very knowledgeable regarding other methods, but I think you can
always count manually to figure out when the loader instance becomes
unreachable. That would be like Aleksey's method 1, which is quite invasive.

Thanks,
Rana



On 10/26/06, Weldon Washburn <[EMAIL PROTECTED]> wrote:
>
> Steve Blackburn was in Portland Oregon today.  I mentioned the idea of
> adding a  reference pointer from object to its j.l.Class instance.  MMTk
> was
> not designed with this idea in mind.  It looks like you will need to fix
> this part of MMTk and maintain it yourself.  Steve did not seem thrilled
> at
> adding this support to MMTk code base.
>
> Have we looked at other class unloading designs?  From what I have read
> in
> open literature on object layout, I don't recall any special fields to
> support class unloading.
>
>

Reply via email to