On Fri, 9 Sep 2022 15:48:41 GMT, Roger Riggs <rri...@openjdk.org> wrote:
>> Modify the LoadLibraryUnload test to call gc() more a few times, allowing >> multiple gc cycles to queue the expected refs. >> Short the timeout on each cycle to 10 sec. > > Roger Riggs has updated the pull request incrementally with one additional > commit since the last revision: > > Remove unused ReferenceQueue for canary WeakReferences. Jai has a good observation and setting -Xmx to a smaller heap size while I agree that is orthogonal to this change. Less work for GC may shorten the test execution time as it was suspected that this takes more than one GCs to clear the weak reference. ------------- PR: https://git.openjdk.org/jdk/pull/10223