RFR (S): JDK-8026154: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java failed due to exception
Christian Tornqvist
christian.tornqvist at oracle.com
Mon Mar 10 15:41:48 UTC 2014
Looks good! Thanks for fixing this.
Thanks,
Christian
-----Original Message-----
From: hotspot-runtime-dev-bounces at openjdk.java.net
[mailto:hotspot-runtime-dev-bounces at openjdk.java.net] On Behalf Of Mikhailo
Seledtsov
Sent: Thursday, March 6, 2014 8:10 AM
To: hotspot-runtime-dev
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.
JBS: https://bugs.openjdk.java.net/browse/JDK-8026154
Webrev: http://cr.openjdk.java.net/~mseledtsov/8026154/webrev.00/
Testing:
Exercises these tests on all standard platforms via JPRT -> PASS
Local testing with number of iterations, especially on Windows
where ASLR
seems to be more aggressive
More information about the hotspot-runtime-dev
mailing list