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

mandy chung mandy.chung at oracle.com
Thu Feb 1 23:17:25 UTC 2018



On 2/1/18 3:07 PM, Vladimir Kozlov wrote:
> On 2/1/18 2:51 PM, David Holmes wrote:
>> On 2/02/2018 6:01 AM, Vladimir Kozlov wrote:
>>> Increase wait time will not always work.
>>> May be better to add -Xmixed flag to test run command to overwrite 
>>> passed -Xcomp flag.
>>> I think it is fine for this tests to not run with -Xcomp - it has 
>>> other purpose than testing JIT.
>>
>> Wouldn't you just skip in -Xcomp as it would already be tested in 
>> mixed mode as part of another run?
>>
>> @ requires vm.mode == "null" ??
>>
>> David
>> -----
>
> Yes, skipping it for -Xcomp is also acceptable:
>
> @requires vm.compMode != "Xcomp"

This is even better.   This filtering option is useful (thanks I didn't 
know about this mechanism).

Mandy


More information about the hotspot-dev mailing list