RFR(XS) 8235179 [TESTBUG] DynamicArchiveRelocationTest.java fails with 'runtime archive relocation start' missing
Mikhailo Seledtsov
mikhailo.seledtsov at oracle.com
Wed Dec 4 17:28:00 UTC 2019
+1
On 12/4/19, 9:20 AM, Calvin Cheung wrote:
> Looks good.
>
> thanks,
>
> Calvin
>
> On 12/3/19 1:50 PM, Ioi Lam wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8235179
>> http://cr.openjdk.java.net/~iklam/jdk14/8235179-missing-relocation-start.v01/
>>
>>
>> These 2 test force CDS to map the archive at a location chosen by the
>> OS.
>> In most cases, the location doesn't match the preferred address, so
>> the archive
>> will be relocated. However, in rare cases, Windows will pick the
>> exact same
>> address as the preferred address, so we won't see the "runtime
>> archive relocation
>> start" log message.
>>
>> The fix is to relax the check, just to make sure that the VM has
>> attempted
>> to map at an alternative address.
>>
>> Passed hs-tier1/2
>>
>> Thanks
>> - Ioi
More information about the hotspot-runtime-dev
mailing list