mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -30,6 +30,9 @@
|
|||
/* pthread_getattr_np comes with LinuxThreads-0.9-7 on RedHat 7.1 */
|
||||
typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *);
|
||||
|
||||
// Information about the protection of the page at address '0' on this os.
|
||||
static bool zero_page_read_protected() { return true; }
|
||||
|
||||
class Linux {
|
||||
friend class os;
|
||||
friend class TestReserveMemorySpecial;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue