On Thu, 18 Nov 2021 04:03:06 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

>> 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 incrementally with one additional 
> commit since the last revision:
> 
>   force GC to clean weak references

Looks okay to me.  Chris should re-review as I'm not close to the jdi tests.

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

Marked as reviewed by mchung (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6402

Reply via email to