On Thu, 12 Oct 2023 18:47:18 GMT, Alex Menkov <[email protected]> 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

Reply via email to