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

mandy chung mandy.chung at oracle.com
Thu Feb 1 17:56:59 UTC 2018



On 2/1/18 5:35 AM, Tobias Hartmann wrote:
> 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.

This change looks okay.   Just curious, is it also reproduced with 
product build? or just fastdebug build only?

Mandy


More information about the hotspot-dev mailing list