RFR: 8317692: jcmd GC.heap_dump performance regression after JDK-8292818
Hannes Greule
hgreule at openjdk.org
Fri Oct 13 19:08:20 UTC 2023
On Thu, 12 Oct 2023 18:47:18 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> We have test library to parse hprof files in test/lib/jdk/test/lib/hprof You can look at test/hotspot/jtreg/serviceability/jvmti/vthread/HeapDump/VThreadInHeapDump.java as an example of a test which generates heap dump for target application and verifies it contains expected data.
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.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16083#issuecomment-1762048855
More information about the serviceability-dev
mailing list