RFR: 8200102: NativeLibraryTest.java fails intermittently, unloaded count is not same as expected [v2]
Brent Christian
bchristi at openjdk.java.net
Mon Dec 7 23:42:14 UTC 2020
On Mon, 7 Dec 2020 20:39:34 GMT, Naoto Sato <naoto at openjdk.org> wrote:
>> Brent Christian has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>>
>> - Merge branch 'master' into 8200102
>> - Use existing ForceGC class in the test lib
>> - Add gcAwait() mechanism
>
> test/jdk/java/lang/ClassLoader/nativeLibrary/NativeLibraryTest.java line 72:
>
>> 70: if (!gc.await(() -> finalCount == unloadedCount)) {
>> 71: throw new RuntimeException("Expected unloaded=" + count +
>> 72: " but got=" + unloadedCount);
>
> Could be left unchanged.
True
-------------
PR: https://git.openjdk.java.net/jdk/pull/1630
More information about the core-libs-dev
mailing list