comparison src/cpu/sparc/vm/vm_version_sparc.hpp @ 1997:505c913f22f8

Merge
author trims
date Fri, 10 Dec 2010 17:59:46 -0800
parents f95d63e2154a
children 2f644f85485d
comparison
equal deleted inserted replaced
1949:058f494c8b6d 1997:505c913f22f8
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