src/share/vm/runtime/vm_version.hpp

changeset 8729
402618d5afc9
parent 8329
d2dd79a4fd69
child 8856
ac27a9c85bea
child 9858
b985cbb00e68
equal deleted inserted replaced
8728:8119c543f2af 8729:402618d5afc9
1 /* 1 /*
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
40 static bool _supports_atomic_getset4; 40 static bool _supports_atomic_getset4;
41 static bool _supports_atomic_getset8; 41 static bool _supports_atomic_getset8;
42 static bool _supports_atomic_getadd4; 42 static bool _supports_atomic_getadd4;
43 static bool _supports_atomic_getadd8; 43 static bool _supports_atomic_getadd8;
44 static unsigned int _logical_processors_per_package; 44 static unsigned int _logical_processors_per_package;
45 static unsigned int _L1_data_cache_line_size;
45 static int _vm_major_version; 46 static int _vm_major_version;
46 static int _vm_minor_version; 47 static int _vm_minor_version;
47 static int _vm_build_number; 48 static int _vm_build_number;
48 static bool _initialized; 49 static bool _initialized;
49 static int _parallel_worker_threads; 50 static int _parallel_worker_threads;
112 113
113 static unsigned int logical_processors_per_package() { 114 static unsigned int logical_processors_per_package() {
114 return _logical_processors_per_package; 115 return _logical_processors_per_package;
115 } 116 }
116 117
118 static unsigned int L1_data_cache_line_size() {
119 return _L1_data_cache_line_size;
120 }
121
117 // Need a space at the end of TLAB for prefetch instructions 122 // Need a space at the end of TLAB for prefetch instructions
118 // which may fault when accessing memory outside of heap. 123 // which may fault when accessing memory outside of heap.
119 static int reserve_for_allocation_prefetch() { 124 static int reserve_for_allocation_prefetch() {
120 return _reserve_for_allocation_prefetch; 125 return _reserve_for_allocation_prefetch;
121 } 126 }

mercurial