Hi all,
Please review the fix in Serviceability Agent (SA) for: HYPERLINK "https://bugs.openjdk.java.net/browse/JDK-8145627"JDK-8145627 (sun.jvm.hotspot.oops.InstanceKlass::getSize() returns the incorrect size and has no test) The webrev is at: http://cr.openjdk.java.net/~sballal/sponsorship/8145627/webrev.00/ The modifications include the fix and 2 tests to check the InstanceKlass sizes representing some well known classes and that of an interface. The tests compare the sizes returned by SA to those returned by jcmd. At this point, SA cannot view the InstanceKlasses representing anonymous classes. (This issue will be addressed in HYPERLINK "https://bugs.openjdk.java.net/browse/JDK-8160228"JDK-8160228 (SA cannot view the LambdaMetaFactory generated anonymous instanceKlasses)). Hence the current fix does not include the size addition for InstanceKlasses representing anonymous classes. Thanks, - Jini Susan George