hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
changeset 26576 a9429d24d429
parent 24424 2658d7834c6e
child 27677 b1997f2f1b56
child 27476 6ac67737d359
--- a/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Wed Sep 03 14:39:13 2014 +0200
+++ b/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Thu Sep 04 13:11:25 2014 +0400
@@ -930,3 +930,8 @@
   // 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();
+}