RFR: 8317692: jcmd GC.heap_dump performance regression after JDK-8292818
Alex Menkov
amenkov at openjdk.org
Sat Oct 14 01:20:12 UTC 2023
On Fri, 13 Oct 2023 19:02:37 GMT, Hannes Greule <hgreule at openjdk.org> wrote:
> Thanks, I added a test case that ensures that the instance fields are all present. This is a very basic test, but it covers super types and also makes sure the order of supertypes is correct. If you want me to add something, please let me know.
Could you add testcases for corner cases:
no fields:
interface I1 {
}
class NoFields1 {
}
class NoFields2 extends NoFields1 implements I1 {
}
no parent fields:
class NoParentFields extends NoFields1 implements I1 {
int i1 = 1;
int i2 = 2;
}
only parent fields:
class Parent1 {
int i3 = 3;
}
class OnlyParentFields extends Parent1 {
}
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16083#issuecomment-1762460816
More information about the hotspot-dev
mailing list