< prev index next >

src/hotspot/share/runtime/abstract_vm_version.hpp

Print this page
*** 40,10 ***
--- 40,11 ---
    PowerFullPartitionMode, // on Linux ppc64(le)
    PowerKVM
  } VirtualizationType;
  
  class outputStream;
+ class stringStream;
  enum class vmIntrinsicID;
  
  // Abstract_VM_Version provides information about the VM.
  
  class Abstract_VM_Version: AllStatic {

*** 224,8 ***
--- 225,21 ---
    static int number_of_cores(void);
    static int number_of_sockets(void);
  
    static const char* cpu_name(void);
    static const char* cpu_description(void);
+ 
+   static void get_cpu_features_name(void* features_buffer, stringStream& ss) { return; }
+   static void get_missing_features_name(void* features_buffer, stringStream& ss) { return; }
+ 
+   // Returns number of bytes required to store cpu features representation
+   static int cpu_features_size() { return 0; }
+ 
+   // Stores arch dependent cpu features representation in the provided buffer.
+   // Size of the buffer must be same as returned by cpu_features_size()
+   static void store_cpu_features(void* buf) { return; }
+ 
+   // features_to_test is an opaque object that stores arch specific representation of cpu features
+   static bool supports_features(void* features_to_test) { return false; };
  };
  
  #endif // SHARE_RUNTIME_ABSTRACT_VM_VERSION_HPP
< prev index next >