Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 655141c

Browse files
Fix(iOS): fix another jdk17 patch
1 parent feee67f commit 655141c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/jre_17/ios/jdk17u_ios.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ index 243c12ce3..879f28df3 100644
502502
+ int prot = exec&&os::Bsd::isRWXJITAvailable() ? PROT_READ|PROT_WRITE|PROT_EXEC : PROT_READ|PROT_WRITE;
503503
#if defined(__OpenBSD__)
504504
// XXX: Work-around mmap/MAP_FIXED bug temporarily on OpenBSD
505-
Events::log(NULL, "Protecting memory [" INTPTR_FORMAT "," INTPTR_FORMAT "] with protection modes %x", p2i(addr), p2i(addr+size), prot);
505+
Events::log_memprotect(NULL, "Protecting memory [" INTPTR_FORMAT "," INTPTR_FORMAT "] with protection modes %x", p2i(addr), p2i(addr+size), prot);
506506
@@ -1720,7 +1740,7 @@ bool os::remove_stack_guard_pages(char* addr, size_t size) {
507507
static char* anon_mmap(char* requested_addr, size_t bytes, bool exec) {
508508
// MAP_FIXED is intentionally left out, to leave existing mappings intact.

0 commit comments

Comments
 (0)