comparison src/cpu/sparc/vm/vm_version_sparc.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents ae065c367d93
children 2f644f85485d
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
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