< prev index next >

src/hotspot/share/runtime/abstract_vm_version.hpp

Print this page

167   // writeback is not supported by the current os_cpu combination
168   static unsigned int data_cache_line_flush_size() {
169     return _data_cache_line_flush_size;
170   }
171 
172   // returns true if and only if cache line writeback is supported
173   static bool supports_data_cache_line_flush() {
174     return _data_cache_line_flush_size != 0;
175   }
176 
177   // Denominator for computing default ParallelGCThreads for machines with
178   // a large number of cores.
179   static uint parallel_worker_threads_denominator() { return 8; }
180 
181   // Does this CPU support spin wait instruction?
182   static bool supports_on_spin_wait() { return false; }
183 
184   // Does platform support fast class initialization checks for static methods?
185   static bool supports_fast_class_init_checks() { return false; }
186 



187   // Does platform support stack watermark barriers for concurrent stack processing?
188   constexpr static bool supports_stack_watermark_barrier() { return false; }
189 
190   // Is recursive lightweight locking implemented for this platform?
191   constexpr static bool supports_recursive_lightweight_locking() { return false; }
192 
193   // Does platform support float16 instructions?
194   static bool supports_float16() { return false; }
195 
196   // Does this CPU support this intrinsic?
197   static bool is_intrinsic_supported(vmIntrinsicID id) { return true; }
198 
199   static bool profile_all_receivers_at_type_check() { return true; }
200 
201   static bool print_matching_lines_from_file(const char* filename, outputStream* st, const char* keywords_to_match[]);
202 
203  protected:
204   // VM_Version statics
205   static const size_t      CPU_TYPE_DESC_BUF_SIZE = 256;
206   static const size_t      CPU_DETAILED_DESC_BUF_SIZE = 4096;

167   // writeback is not supported by the current os_cpu combination
168   static unsigned int data_cache_line_flush_size() {
169     return _data_cache_line_flush_size;
170   }
171 
172   // returns true if and only if cache line writeback is supported
173   static bool supports_data_cache_line_flush() {
174     return _data_cache_line_flush_size != 0;
175   }
176 
177   // Denominator for computing default ParallelGCThreads for machines with
178   // a large number of cores.
179   static uint parallel_worker_threads_denominator() { return 8; }
180 
181   // Does this CPU support spin wait instruction?
182   static bool supports_on_spin_wait() { return false; }
183 
184   // Does platform support fast class initialization checks for static methods?
185   static bool supports_fast_class_init_checks() { return false; }
186 
187   // Does platform support continuation preemption?
188   static bool supports_cont_preemption() { return false; }
189 
190   // Does platform support stack watermark barriers for concurrent stack processing?
191   constexpr static bool supports_stack_watermark_barrier() { return false; }
192 
193   // Is recursive lightweight locking implemented for this platform?
194   constexpr static bool supports_recursive_lightweight_locking() { return false; }
195 
196   // Does platform support float16 instructions?
197   static bool supports_float16() { return false; }
198 
199   // Does this CPU support this intrinsic?
200   static bool is_intrinsic_supported(vmIntrinsicID id) { return true; }
201 
202   static bool profile_all_receivers_at_type_check() { return true; }
203 
204   static bool print_matching_lines_from_file(const char* filename, outputStream* st, const char* keywords_to_match[]);
205 
206  protected:
207   // VM_Version statics
208   static const size_t      CPU_TYPE_DESC_BUF_SIZE = 256;
209   static const size_t      CPU_DETAILED_DESC_BUF_SIZE = 4096;
< prev index next >