RFR(XS): 8130676: [TESTBUG] aix: Port CreateCoreDumpOnCrash added in 8078121
Christian Thalinger
christian.thalinger at oracle.com
Tue Jul 7 15:09:57 UTC 2015
> On Jul 7, 2015, at 6:46 AM, Lindenmaier, Goetz <goetz.lindenmaier at sap.com> wrote:
>
> Hi,
>
> This test does Utils.getUnsafe().getInt(0) effectively reading from address '0'
> to cause a crash.
> Unfortunately this is possible on aix, as the zero page is not write protected.
You mean read protected, right? Back in the day when I was working on another JVM we had similar issues on ARM systems (I can’t remember exactly which). I wonder if this will hit us too one day...
>
> Fix: use putInt() instead.
>
> Please review this tiny change. I please need a sponsor.
> http://cr.openjdk.java.net/~goetz/webrevs/8130676-crshTst/webrev.01/
>
> Best regards,
> Goetz.
More information about the hotspot-dev
mailing list