Enhanced Class Redefinition JEP

Sean Chou zhouyx at linux.vnet.ibm.com
Sun Aug 7 20:34:25 PDT 2011


Great feature. I just have one consideration after reading the paper.

If A.a calls B.b calls C.c in application, A.a and C.c is going to be
redefined.
During running, a thread is executing in B.b just before invoking C.c when
the class redefine is triggered.

Will B.b invoke the new version of C'.c' or the old version C.c? I remember
the
current implementation is to invoke the new version.


2011/7/28 Thomas Wuerthinger <thomas.wuerthinger at oracle.com>

> Hi all,
>
> find attached a JDK Enhancement-Proposal (JEP) for enhancing HotSpot's
> class redefinition capabilities. The proposed features include
> adding/removing methods and fields as well as adding supertypes. The JEP
> includes links to a prototype implementation and technical publications
> about the approach.
>
> Regards,
> Thomas Wuerthinger
>



-- 
Best Regards,
Sean Chou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20110808/a9150415/attachment.html 


More information about the hotspot-dev mailing list