src/os_cpu/linux_x86/vm/os_linux_x86.cpp

Print this page

        

@@ -928,5 +928,10 @@
   __asm__ volatile("call *%0" : : "r"(codebuf));
 
   // keep the page mapped so CS limit isn't reduced.
 #endif
 }
+
+int os::extra_bang_size_in_bytes() {
+  // JDK-8050147 requires the full cache line bang for x86.
+  return VM_Version::L1_line_size();
+}