Fast class reloading
Igor Adam Klimer
150043 at student.pwr.wroc.pl
Wed Jun 2 06:16:48 PDT 2010
Sorry for the late reply.
> I'm not sure how you can discard the existing instances easily,
> but if they are discard-able then that would make the job easier.
Yes, they are discard-able, as in they *can be* discarded once we tested that particular version/mutation of the class. I was/am just worried if the Garbage Collector won't go postal on me if I modify the class whose instance it's trying to collect.
> An agent can only use functionality exposed by the VM and there
> is no VM functionality in existence to do what you want. This
> has to be supported by the VM (after which it could be exposed
> to agents).
Yes, but from what I understood an agent can also modify the VM's classes - so the idea was to exploit that (eh, "exploit" has a bad sound to it ;)) and modify the VM so that it does include the functionality we need. Does this idea seem reasonable to you? Of course, it would be hard to maintain such "patches", but it would take the burden of installing a custom VM from the users.
Thanks again for your help and best regards,
More information about the hotspot-runtime-dev