RFR: 8303489: Add a test to verify classes in vmStruct have unique vtables [v2]
Alex Menkov
amenkov at openjdk.org
Thu Mar 2 23:36:14 UTC 2023
On Thu, 2 Mar 2023 22:20:10 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
>> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> addressed feedback
>
> test/hotspot/jtreg/serviceability/sa/UniqueVtableTest.java line 85:
>
>> 83: int dupsFound = 0;
>> 84: // agent.getTypeDataBase() returns HotSpotTypeDataBase (extends BasicTypeDataBase)
>> 85: BasicTypeDataBase typeDB = (BasicTypeDataBase)(agent.getTypeDataBase());
>
> I don't think the cast is needed.
agent.getTypeDataBase() returns TypeDataBase, we need BasicTypeDataBase
-------------
PR: https://git.openjdk.org/jdk/pull/12820
More information about the serviceability-dev
mailing list