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

Zhengyu Gu zhengyu.gu at oracle.com
Mon Mar 10 15:16:16 UTC 2014


Looks good to me.

-Zhengyu

On Mar 6, 2014, at 8:10 AM, Mikhailo Seledtsov wrote:

>    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