best practices for testing JVM changes that may interact with CDS?

John Rose john.r.rose at oracle.com
Thu Jul 18 15:48:27 PDT 2013


On Jul 18, 2013, at 2:15 PM, Ioi Lam <ioi.lam at oracle.com> wrote:

> 
> John, for vtable, do you mean this code?
> 
> void InstanceKlass::restore_unshareable_info(TRAPS) {
>   ...
>   for (int index2 = 0; index2 < num_methods; ++index2) {
>     methodHandle m(THREAD, methods->at(index2));
>     m()->link_method(m, CHECK);
>     // restore method's vtable by calling a virtual function
>     m->restore_vtable();    /// <<<<<< here??
>   }

Perhaps I'm thinking of that bit, which concerns C++ vtables, and doesn't overlap with Klass-to-Method vtables.

Am I just imagining an interaction between CDS and tables containing Method* pointers?

— John


More information about the hotspot-runtime-dev mailing list