equal
deleted
inserted
replaced
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 |