RFR: 8317692: jcmd GC.heap_dump performance regression after JDK-8292818

Hannes Greule hgreule at openjdk.org
Sat Oct 14 20:17:32 UTC 2023


On Sat, 14 Oct 2023 01:16:26 GMT, Alex Menkov <amenkov 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 { }

Done. I also added a test case where a class class in the "middle" class has no fields.

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

PR Comment: https://git.openjdk.org/jdk/pull/16083#issuecomment-1763167022


More information about the hotspot-dev mailing list