RFR(XS) 8234539 ArchiveRelocationTest.java failed: Archive mapping should always succeed

Ioi Lam ioi.lam at oracle.com
Thu Nov 21 22:58:27 UTC 2019


https://bugs.openjdk.java.net/browse/JDK-8234539
http://cr.openjdk.java.net/~iklam/jdk14/8234539-mapping-should-always-succeed.v01/

This bug happens only on Windows. The fix is one-line -- in order to check
whether "This is the second time we try to map the archive(s)", instead of
using (addr_delta != 0), the correct condition is (rs.is_reserved()). Please
see the bug report for details.

I also improve the log messages when error happens.

Thanks
- Ioi


More information about the hotspot-runtime-dev mailing list