harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [drlvm] Class unloading support
Date Wed, 25 Oct 2006 07:53:37 GMT
On 10/25/06, Aleksey Ignatenko <aleksey.ignatenko@gmail.com> wrote:
>
> Egor,
> >But it has 1 more "cons" -- JIT should change it's devirtualizer
> >accordingly to the VTable change. Doable, of course.
> There is no need to change struct VTable structure - it could be simply
> inlined in pinned VTable object + 1 additional reference field to
> j.l.Class.
> So there won't be too much work to do on JIT side.
>
+1 for "Automatic class unloading approach".
But, please, keep vtables pinned in the first version. If you make vtable
objects unpinned JIT have to track if the object is moved and patch all
devirtualized calls (not a simple task..).
-- 
Mikhail Fursov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message