Please review fix for 7195867: NPG: SAJDI tests fail with sun.jvm.hotspot.types.WrongTypeException: No, suitable match for type

Karen Kinnear karen.kinnear at
Wed Sep 5 13:27:05 PDT 2012


Looks good. Glad you got to figure that one out.


On Sep 5, 2012, at 4:23 PM, Coleen Phillimore wrote:

> Summary: Need to restore the vtable in metadata when we restore the type from the shared archive.
> When dumping the shared archive all the C++ vtables are patched to be a piece of code that inserts the actual vtable in the type, and calls through the actual vtable to where the function was restored.   SA uses the address of the vtable to determine which metadata type it is looking at.  By calling one virtual function during restore, we can restore the c++ vtable to the actual one so SA can match it.
> (systemDictionary is a whitespace change).
> Tested sajdi tests.
> Thanks,
> Coleen

More information about the hotspot-dev mailing list