< prev index next >

src/hotspot/share/runtime/vm_version.hpp

Print this page




  55   static const char* _features_string;
  56 
  57   // These are set by machine-dependent initializations
  58   static bool         _supports_cx8;
  59   static bool         _supports_atomic_getset4;
  60   static bool         _supports_atomic_getset8;
  61   static bool         _supports_atomic_getadd4;
  62   static bool         _supports_atomic_getadd8;
  63   static unsigned int _logical_processors_per_package;
  64   static unsigned int _L1_data_cache_line_size;
  65   static int          _vm_major_version;
  66   static int          _vm_minor_version;
  67   static int          _vm_security_version;
  68   static int          _vm_patch_version;
  69   static int          _vm_build_number;
  70   static unsigned int _data_cache_line_flush_size;
  71 
  72   static VirtualizationType _detected_virtualization;
  73 
  74  public:
  75   // Called as part of the runtime services initialization which is
  76   // called from the management module initialization (via init_globals())
  77   // after argument parsing and attaching of the main thread has
  78   // occurred.  Examines a variety of the hardware capabilities of
  79   // the platform to determine which features can be used to execute the
  80   // program.
  81   static void initialize() { }
  82 
  83   // This allows for early initialization of VM_Version information
  84   // that may be needed later in the initialization sequence but before
  85   // full VM_Version initialization is possible. It can not depend on any
  86   // other part of the VM being initialized when called. Platforms that
  87   // need to specialize this define VM_Version::early_initialize().
  88   static void early_initialize() { }
  89 
  90   // Called to initialize VM variables needing initialization
  91   // after command line parsing. Platforms that need to specialize
  92   // this should define VM_Version::init_before_ergo().
  93   static void init_before_ergo() {}
  94 
  95   // Name
  96   static const char* vm_name();
  97   // Vendor
  98   static const char* vm_vendor();
  99   // VM version information string printed by launcher (java -version)
 100   static const char* vm_info_string();
 101   static const char* vm_release();
 102   static const char* vm_platform_string();




  55   static const char* _features_string;
  56 
  57   // These are set by machine-dependent initializations
  58   static bool         _supports_cx8;
  59   static bool         _supports_atomic_getset4;
  60   static bool         _supports_atomic_getset8;
  61   static bool         _supports_atomic_getadd4;
  62   static bool         _supports_atomic_getadd8;
  63   static unsigned int _logical_processors_per_package;
  64   static unsigned int _L1_data_cache_line_size;
  65   static int          _vm_major_version;
  66   static int          _vm_minor_version;
  67   static int          _vm_security_version;
  68   static int          _vm_patch_version;
  69   static int          _vm_build_number;
  70   static unsigned int _data_cache_line_flush_size;
  71 
  72   static VirtualizationType _detected_virtualization;
  73 
  74  public:








  75   // This allows for early initialization of VM_Version information
  76   // that may be needed later in the initialization sequence but before
  77   // full VM_Version initialization is possible. It can not depend on any
  78   // other part of the VM being initialized when called. Platforms that
  79   // need to specialize this define VM_Version::early_initialize().
  80   static void early_initialize() { }
  81 
  82   // Called to initialize VM variables needing initialization
  83   // after command line parsing. Platforms that need to specialize
  84   // this should define VM_Version::init_before_ergo().
  85   static void init_before_ergo() {}
  86 
  87   // Name
  88   static const char* vm_name();
  89   // Vendor
  90   static const char* vm_vendor();
  91   // VM version information string printed by launcher (java -version)
  92   static const char* vm_info_string();
  93   static const char* vm_release();
  94   static const char* vm_platform_string();


< prev index next >