RFR: 8311993: Test serviceability/sa/UniqueVtableTest.java failed: duplicate vtables detected

Alex Menkov amenkov at openjdk.org
Tue Aug 27 00:57:06 UTC 2024


On Mon, 26 Aug 2024 16:53:26 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> Why do we rely on GetOffsetByName() when we can already lookup directly from the dll, and this is in fact the fallback already in place when GetOffsetByName() fails?

I'm not expert in the area, but as far as I see this is caused by SA agent design - vtable for a class is considered as usual symbol and standard symbol lookup routine is used (on Windows it's GetOffsetByName and search through DLL exported symbols as a fallback).

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20684#issuecomment-2311365068


More information about the serviceability-dev mailing list