RFR: 8265796: vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails when running with JEP 416 [v4]
Leonid Mesnik
lmesnik at openjdk.java.net
Tue Nov 23 19:31:19 UTC 2021
> The nsk.share.jdi.TestClass1 is used via reflection. The reflective call creates MethodHandle and one more reference to TestClass1. So the number of expected references should be incremented. Thanks to @plummercj and @mlchung for the investigation.
> This fix also prints references to inspected class.
Leonid Mesnik has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
- Merge branch 'master' into 8265796
- force GC to clean weak references
- updated
- fix
-------------
Changes: https://git.openjdk.java.net/jdk/pull/6402/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6402&range=03
Stats: 18 lines in 3 files changed: 13 ins; 2 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/6402.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6402/head:pull/6402
PR: https://git.openjdk.java.net/jdk/pull/6402
More information about the serviceability-dev
mailing list