RFR(XS) 8235179 [TESTBUG] DynamicArchiveRelocationTest.java fails with 'runtime archive relocation start' missing

Ioi Lam ioi.lam at oracle.com
Tue Dec 3 21:50:48 UTC 2019


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