RFR (S): JDK-8026154: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java failed due to exception

Mikhailo Seledtsov mikhailo.seledtsov at oracle.com
Mon Mar 10 18:54:00 UTC 2014

Zhengyu, Christian,

  Thank you for the review.


On 3/10/2014 11:41 AM, Christian Tornqvist wrote:
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20140310/beab46b9/attachment-0001.html>

More information about the hotspot-runtime-dev mailing list