equal
deleted
inserted
replaced
62 static int determine_features(); |
62 static int determine_features(); |
63 static int platform_features(int features); |
63 static int platform_features(int features); |
64 |
64 |
65 static bool is_niagara1(int features) { return (features & niagara1_m) == niagara1_m; } |
65 static bool is_niagara1(int features) { return (features & niagara1_m) == niagara1_m; } |
66 |
66 |
|
67 static int maximum_niagara1_processor_count() { return 32; } |
|
68 // Returns true if the platform is in the niagara line and |
|
69 // newer than the niagara1. |
|
70 static bool is_niagara1_plus(); |
|
71 |
67 public: |
72 public: |
68 // Initialization |
73 // Initialization |
69 static void initialize(); |
74 static void initialize(); |
70 |
75 |
71 // Instruction support |
76 // Instruction support |
127 static void allow_all(); |
132 static void allow_all(); |
128 static void revert(); |
133 static void revert(); |
129 |
134 |
130 // Override the Abstract_VM_Version implementation. |
135 // Override the Abstract_VM_Version implementation. |
131 static uint page_size_count() { return is_sun4v() ? 4 : 2; } |
136 static uint page_size_count() { return is_sun4v() ? 4 : 2; } |
|
137 |
|
138 // Calculates the number of parallel threads |
|
139 static unsigned int calc_parallel_worker_threads(); |
132 }; |
140 }; |