> When the JVMTI `IterateThroughHeap` has a class filter then the flattened 
> value objects contained in the fields of filtered class objects are not 
> reported. The fix is:
>  - If the object has flattened fields, visit and report them as heap objects 
> even though this object was not reported.
> 
> The update adds new test with a needed coverage:
>   
> `test/hotspot/jtreg/serviceability/jvmti/valhalla/Heapwalking/FlatClassFilterTest.java`
> 
> Testing:
>  - check new test is failing without fix and is passing with the fix
>  - TBD: run mach5 tiers 1-6
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Serguei Spitsyn has updated the pull request incrementally with one additional 
commit since the last revision:

  add more checks and logs

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/33172/files
  - new: https://git.openjdk.org/jdk/pull/33172/files/88190ec3..9ec39c5a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33172&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33172&range=02-03

  Stats: 8 lines in 1 file changed: 6 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/33172.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33172/head:pull/33172

PR: https://git.openjdk.org/jdk/pull/33172

Reply via email to