RFR (S): JDK-8026154: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java failed due to exception
christian.tornqvist at oracle.com
Mon Mar 10 15:41:48 UTC 2014
Looks good! Thanks for fixing this.
From: hotspot-runtime-dev-bounces at openjdk.java.net
[mailto:hotspot-runtime-dev-bounces at openjdk.java.net] On Behalf Of Mikhailo
Sent: Thursday, March 6, 2014 8:10 AM
Subject: RFR (S): JDK-8026154: [TESTBUG]
runtime/CDSCompressedKPtrs/XShareAuto.java failed due to exception
Please review this change that fixes several tests.
The issues addressed by this change have similar root cause, hence I
have consolidated them under the umbrella of JDK-8026154 and hope to submit
them as one change set.
In detail, these changes are introduced to cover situation where
mapping of the shared (CDS) archive into memory fails. Such situation is a
random occurance, and is most likely due
to ASLR (Adress Space Layout Randomization). ASLR is a security
feature managed by OS that randomizes the address where shared libraries are
loaded; if the shared library is mapped
into the space intended for the CDS archive, the mapping of the archive
will fail. With this change, these tests take such situation into account.
Exercises these tests on all standard platforms via JPRT -> PASS
Local testing with number of iterations, especially on Windows
seems to be more aggressive
More information about the hotspot-runtime-dev