--- a/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp Thu Nov 08 11:22:28 2018 -0800
+++ b/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp Thu Nov 08 11:45:13 2018 -0800
@@ -498,17 +498,6 @@
stub = addr;
}
}
-
- // 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) &&
- os::is_memory_serialize_page(thread, (address) info->si_addr)) {
- // Block current thread until the memory serialize page permission restored.
- os::block_on_serialize_page_trap();
- return true;
- }
}
#ifndef AMD64