src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp

Print this page

        

@@ -463,5 +463,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();
+}