Integrated: 8200102: NativeLibraryTest.java fails intermittently, unloaded count is not same as expected
Brent Christian
bchristi at openjdk.java.net
Tue Dec 8 18:05:14 UTC 2020
On Fri, 4 Dec 2020 18:23:55 GMT, Brent Christian <bchristi at openjdk.org> wrote:
> Please review this fix for the intermittently-failing java/lang/ClassLoader/nativeLibrary/NativeLibraryTest.java.
>
> The change replaces System.gc()+sleep() with the more robust gcAwait() mechanic used elsewhere in the test base, [as pointed out by Martin](https://bugs.openjdk.java.net/browse/JDK-8200102?focusedCommentId=14382648&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14382648)(thanks!).
>
> The new version of the test passes 100 times out of 100 on the test farm.
This pull request has now been integrated.
Changeset: 1a9ed92d
Author: Brent Christian <bchristi at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/1a9ed92d
Stats: 12 lines in 1 file changed: 4 ins; 1 del; 7 mod
8200102: NativeLibraryTest.java fails intermittently, unloaded count is not same as expected
Reviewed-by: mchung, naoto
-------------
PR: https://git.openjdk.java.net/jdk/pull/1630
More information about the core-libs-dev
mailing list