hotspot/src/cpu/sparc/vm/vm_version_sparc.hpp
changeset 7397 5b173b4ca846
parent 7115 32300e243300
child 7433 b418028612ad
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
       
    24 
       
    25 #ifndef CPU_SPARC_VM_VM_VERSION_SPARC_HPP
       
    26 #define CPU_SPARC_VM_VM_VERSION_SPARC_HPP
       
    27 
       
    28 #include "runtime/globals_extension.hpp"
       
    29 #include "runtime/vm_version.hpp"
    24 
    30 
    25 class VM_Version: public Abstract_VM_Version {
    31 class VM_Version: public Abstract_VM_Version {
    26 protected:
    32 protected:
    27   enum Feature_Flag {
    33   enum Feature_Flag {
    28     v8_instructions    = 0,
    34     v8_instructions    = 0,
   150   static uint page_size_count() { return is_sun4v() ? 4 : 2; }
   156   static uint page_size_count() { return is_sun4v() ? 4 : 2; }
   151 
   157 
   152   // Calculates the number of parallel threads
   158   // Calculates the number of parallel threads
   153   static unsigned int calc_parallel_worker_threads();
   159   static unsigned int calc_parallel_worker_threads();
   154 };
   160 };
       
   161 
       
   162 #endif // CPU_SPARC_VM_VM_VERSION_SPARC_HPP