mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
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:
parent
aabed3781b
commit
a7c123880e
11 changed files with 65 additions and 8 deletions
|
@ -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 *);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue