RFR: 8303489: Add a test to verify classes in vmStruct have unique vtables [v2]

Alex Menkov amenkov at openjdk.org
Fri Mar 3 02:33:15 UTC 2023


On Fri, 3 Mar 2023 00:44:31 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> agent.getTypeDataBase() returns TypeDataBase, we need BasicTypeDataBase
>
> Your comment seems to indicate otherwise, although I think what you meant is that the declared return type for agent.getTypeDataBase() is TypeDataBase, but it actually returns an object of type HotSpotTypeDataBase, which is a subclass of BasicTypeDataBase. You should make that more clear.

Updated the comment. Hope it's clearer now

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

PR: https://git.openjdk.org/jdk/pull/12820


More information about the serviceability-dev mailing list