src/os_cpu/windows_x86/vm/os_windows_x86.cpp

Print this page

        

@@ -637,5 +637,10 @@
 #ifdef AMD64
   assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0, "incorrect stack alignment");
 #endif
 }
 #endif
+
+int os::extra_bang_size_in_bytes() {
+  // JDK-8050147 requires the full cache line bang for x86.
+  return VM_Version::L1_line_size();
+}