8028471: PPC64 (part 215): opto: Extend ImplicitNullCheck optimization

Fixed Implicit NULL check optimization for AIX, where the page at address '0' is only write-protected.

Reviewed-by: kvn
This commit is contained in:
Goetz Lindenmaier 2013-11-21 18:29:34 -08:00
parent aabed3781b
commit a7c123880e
11 changed files with 65 additions and 8 deletions

View file

@ -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 *);