> 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 a testcase with JVMTI_HEAP_FILTER_CLASS_UNTAGGED ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33172/files - new: https://git.openjdk.org/jdk/pull/33172/files/0bc52ee5..88190ec3 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33172&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33172&range=01-02 Stats: 26 lines in 2 files changed: 23 ins; 0 del; 3 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
