Integrated: 8266742: Check W^X state on possible safepoint

Anton Kozlov akozlov at openjdk.java.net
Mon May 17 19:19:53 UTC 2021


On Fri, 7 May 2021 15:37:12 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> Hi,
> 
> Please review a check for W^X mode at safepoint. As described in the bug, this explicit check aims to catch the wrong W^X mode that may lead to a crash (such crashes are rather intermittent).
> 
> This check helped to verify the fix for https://bugs.openjdk.java.net/browse/JDK-8265292 and should help to discover similar issues. It is disabled by default to avoid unexpected failures in the regular use, but eventually it should be turned on unconditionally.
> 
> I still owe a complete W^X approach description. Hope this patch does not depend much on that.

This pull request has now been integrated.

Changeset: 3b11d811
Author:    Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/3b11d811a274ae1d91fdcc5f01bcd5d159f0543b
Stats:     25 lines in 3 files changed: 18 ins; 0 del; 7 mod

8266742: Check W^X state on possible safepoint

Reviewed-by: dholmes, gziemski

-------------

PR: https://git.openjdk.java.net/jdk/pull/3920


More information about the hotspot-runtime-dev mailing list