1.1 --- a/src/share/vm/runtime/vm_version.hpp Wed Aug 13 10:44:50 2014 +0200 1.2 +++ b/src/share/vm/runtime/vm_version.hpp Fri Mar 17 03:39:23 2017 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -42,6 +42,7 @@ 1.11 static bool _supports_atomic_getadd4; 1.12 static bool _supports_atomic_getadd8; 1.13 static unsigned int _logical_processors_per_package; 1.14 + static unsigned int _L1_data_cache_line_size; 1.15 static int _vm_major_version; 1.16 static int _vm_minor_version; 1.17 static int _vm_build_number; 1.18 @@ -114,6 +115,10 @@ 1.19 return _logical_processors_per_package; 1.20 } 1.21 1.22 + static unsigned int L1_data_cache_line_size() { 1.23 + return _L1_data_cache_line_size; 1.24 + } 1.25 + 1.26 // Need a space at the end of TLAB for prefetch instructions 1.27 // which may fault when accessing memory outside of heap. 1.28 static int reserve_for_allocation_prefetch() {