RFR(XS): 8130676: [TESTBUG] aix: Port CreateCoreDumpOnCrash added in 8078121

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Sat Jul 11 16:01:02 UTC 2015

Hi Christian,

yes, you are right, it's not read protected.
I don't think linux on aarch will introduce such obstacles :)
And if so, we will have cleared the way!

Best regards,

-----Original Message-----
From: Christian Thalinger [mailto:christian.thalinger at oracle.com] 
Sent: Dienstag, 7. Juli 2015 17:10
To: Lindenmaier, Goetz
Cc: hotspot-dev at openjdk.java.net
Subject: Re: RFR(XS): 8130676: [TESTBUG] aix: Port CreateCoreDumpOnCrash added in 8078121

> 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