Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
14435:da862781b584 | 14436:b0133e4187d3 |
---|---|
24 | 24 |
25 #ifndef OS_BSD_VM_OS_BSD_HPP | 25 #ifndef OS_BSD_VM_OS_BSD_HPP |
26 #define OS_BSD_VM_OS_BSD_HPP | 26 #define OS_BSD_VM_OS_BSD_HPP |
27 | 27 |
28 // Bsd_OS defines the interface to Bsd operating systems | 28 // Bsd_OS defines the interface to Bsd operating systems |
29 | |
30 // Information about the protection of the page at address '0' on this os. | |
31 static bool zero_page_read_protected() { return true; } | |
29 | 32 |
30 /* pthread_getattr_np comes with BsdThreads-0.9-7 on RedHat 7.1 */ | 33 /* pthread_getattr_np comes with BsdThreads-0.9-7 on RedHat 7.1 */ |
31 typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *); | 34 typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *); |
32 | 35 |
33 #ifdef __APPLE__ | 36 #ifdef __APPLE__ |