> 
> On Apr  1, 1999, Maxim Kizub <[EMAIL PROTECTED]> wrote:
> 
> > For 1. We know, that only Class and String
> > objects may be referenced from code.
> 
> invokestatic and invokespecial instructions also generate code that
> refers to gc-able data: the entry point of the JIT-compiled methods.
> 

But those aren't subject to gc anymore, they are fixed objects allocated
by the allocator.   But that's just a minor detail anyway.
My gut feeling is that it's okay to not move classes; strings referenced
from code may also be fine in non-moveable space, I'd suppose, since their
lifetime likely matches the lifetime of the class.


To give my overall opinion on this discussion: this all sounds fine and 
technically sound, and various trade-offs can be made, but what we really 
need is an implementation -- then let's analyze it and evaluate the trade-offs.

        - Godmar

Reply via email to