Mercurial > hg > graal-compiler
diff src/os/bsd/vm/os_bsd.hpp @ 14436:b0133e4187d3
8028471: PPC64 (part 215): opto: Extend ImplicitNullCheck optimization.
Summary: Fixed Implicit NULL check optimization for AIX, where the page at address '0' is only write-protected.
Reviewed-by: kvn
author | goetz |
---|---|
date | Thu, 21 Nov 2013 18:29:34 -0800 |
parents | faff125a1ead |
children | bb9356ec5967 917873d2983d |
line wrap: on
line diff
--- a/src/os/bsd/vm/os_bsd.hpp Thu Nov 21 12:30:35 2013 -0800 +++ b/src/os/bsd/vm/os_bsd.hpp Thu Nov 21 18:29:34 2013 -0800 @@ -27,6 +27,9 @@ // Bsd_OS defines the interface to Bsd operating systems +// Information about the protection of the page at address '0' on this os. +static bool zero_page_read_protected() { return true; } + /* pthread_getattr_np comes with BsdThreads-0.9-7 on RedHat 7.1 */ typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *);