hotspot/src/share/vm/runtime/vm_version.hpp
changeset 25633 4cd9c4622c8c
parent 24238 641b2b1b0163
child 25717 7493b8ac31b7
equal deleted inserted replaced
25632:d200adafaee5 25633:4cd9c4622c8c
     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_micro_version;
    48   static int          _vm_micro_version;
    48   static int          _vm_build_number;
    49   static int          _vm_build_number;
    49   static bool         _initialized;
    50   static bool         _initialized;
    96 
    97 
    97   static unsigned int logical_processors_per_package() {
    98   static unsigned int logical_processors_per_package() {
    98     return _logical_processors_per_package;
    99     return _logical_processors_per_package;
    99   }
   100   }
   100 
   101 
       
   102   static unsigned int L1_data_cache_line_size() {
       
   103     return _L1_data_cache_line_size;
       
   104   }
       
   105 
   101   // Need a space at the end of TLAB for prefetch instructions
   106   // Need a space at the end of TLAB for prefetch instructions
   102   // which may fault when accessing memory outside of heap.
   107   // which may fault when accessing memory outside of heap.
   103   static int reserve_for_allocation_prefetch() {
   108   static int reserve_for_allocation_prefetch() {
   104     return _reserve_for_allocation_prefetch;
   109     return _reserve_for_allocation_prefetch;
   105   }
   110   }