hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp
changeset 26576 a9429d24d429
parent 24424 2658d7834c6e
child 29573 2d800e5d575f
--- a/hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp	Wed Sep 03 14:39:13 2014 +0200
+++ b/hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp	Thu Sep 04 13:11:25 2014 +0400
@@ -1030,3 +1030,8 @@
 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();
+}