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

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


On Thu, 2 Mar 2023 20:50:36 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> test/hotspot/jtreg/serviceability/sa/UniqueVtableTest.java line 118:
>> 
>>> 116:                   + ", JPrimitive: " + t.isJavaPrimitiveType()
>>> 117:                   + ", Oop: " + t.isOopType()
>>> 118:                   + ", Ptr: " + t.isPointerType());
>> 
>> It appears that these always print "false". Are they worth having?
>
> It reports all available info about the Type. As these are "suspicious" types I think it make sense to provide more info

removed this property as by the updated condition logged classes have all "false"

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

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


More information about the serviceability-dev mailing list