--- a/src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp Thu Nov 08 11:22:28 2018 -0800
+++ b/src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp Thu Nov 08 11:45:13 2018 -0800
@@ -477,20 +477,6 @@
return true;
}
}
-
- // Check to see if we caught the safepoint code in the
- // process of write protecting the memory serialization page.
- // It write enables the page immediately after protecting it
- // so we can just return to retry the write.
- if ((sig == SIGSEGV) &&
- // Si_addr may not be valid due to a bug in the linux-ppc64 kernel (see comment above).
- // Use is_memory_serialization instead of si_addr.
- ((NativeInstruction*)pc)->is_memory_serialization(thread, ucVoid)) {
- // Synchronization problem in the pseudo memory barrier code (bug id 6546278)
- // Block current thread until the memory serialize page permission restored.
- os::block_on_serialize_page_trap();
- return true;
- }
}
if (stub != NULL) {