src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp

Print this page

        

@@ -1028,5 +1028,10 @@
 
 #ifndef PRODUCT
 void os::verify_stack_alignment() {
 }
 #endif
+
+int os::extra_bang_size_in_bytes() {
+  // JDK-8050147 requires the full cache line bang for x86.
+  return VM_Version::L1_line_size();
+}