[11] RFR(S): 8195695: NativeLibraryTest.java fails w/ 'Expected unloaded=1 but got=0'

Tobias Hartmann tobias.hartmann at oracle.com
Thu Feb 1 13:35:34 UTC 2018


Hi,

please review the following patch:
https://bugs.openjdk.java.net/browse/JDK-8195695
http://cr.openjdk.java.net/~thartmann/8195695/webrev.00/

The test fails with -Xcomp because the native library is not unloaded. The problem is that -Xcomp significantly slows
down execution (especially on SPARC) and as a result 100 ms is not enough for unloading the native library. I've
increased the wait time to 1s and added 10 attempts.

Verified on the machine that reproduced the problem.

Thanks,
Tobias


More information about the hotspot-dev mailing list