RFR(xxs): 8216982: Assertion poison page established too early

Thomas Stüfe thomas.stuefe at gmail.com
Mon Jan 14 15:49:48 UTC 2019


Thanks Martin!

On Mon, Jan 14, 2019, 16:45 Doerr, Martin <martin.doerr at sap.com wrote:

> Hi Thomas,
>
> thanks for fixing. Looks good.
>
> Best regards,
> Martin
>
>
> -----Original Message-----
> From: hotspot-runtime-dev <hotspot-runtime-dev-bounces at openjdk.java.net>
> On Behalf Of Thomas Stüfe
> Sent: Montag, 14. Januar 2019 16:16
> To: Hotspot dev runtime <hotspot-runtime-dev at openjdk.java.net>
> Subject: RFR(xxs): 8216982: Assertion poison page established too early
>
> Hi all,
>
> may I please have a review for the following fix:
>
> cr:
>
> http://cr.openjdk.java.net/~stuefe/webrevs/jdk-8216982-assertion-poison-page-established-too-early/webrev.00/webrev/
> bug: https://bugs.openjdk.java.net/browse/JDK-8216982
>
> In short, the assertion poison page is established during initialization
> using os::reserve/commit_memory; however, the os:: subsystem is not yet
> fully initialized at that point.
>
> The patch moves the initialization after os::init_2(), it is now
> established at the same point as the safepoint polling page. The
> initialization can moved back safely - the only drawbacks would be asserts
> happening earlier than this point not having register output in the error
> file.
>
> Thanks, Thomas
>


More information about the hotspot-runtime-dev mailing list