RFR (XS) 8235490 AppCDS DynamicArchiveRelocationTest.java failed: 'always map archive(s) at an alternative address' missing
Ioi Lam
ioi.lam at oracle.com
Fri Dec 6 19:53:51 UTC 2019
https://bugs.openjdk.java.net/browse/JDK-8235490
http://cr.openjdk.java.net/~iklam/jdk14/8235490-DynamicArchiveRelocationTest-missing-alternative-address.v01/
Sorry this test has failed in so many ways ....
I wanted to check that the VM actually tries to map the archive at an
alternative address. In this particular failure, the VM first tries to
reserve memory at the requested address, which failed, so it returns
immediately and never goes to the line where the "always map archive(s)
at an alternative address" is printed.
Anyway, the foolproof way to do that is to print a log message in the VM
that will absolutely be executed when we are about to map at an
alternative address.
Thanks
- Ioi
More information about the hotspot-runtime-dev
mailing list