hotspot/src/share/vm/runtime/vm_version.hpp
changeset 35043 30543d2a0a20
parent 33977 a27f0d8a7861
child 35148 5cfafc99d791
--- a/hotspot/src/share/vm/runtime/vm_version.hpp	Wed Dec 09 22:27:37 2015 +0000
+++ b/hotspot/src/share/vm/runtime/vm_version.hpp	Tue Nov 24 15:56:40 2015 -0800
@@ -56,6 +56,12 @@
                                                   unsigned int dem,
                                                   unsigned int switch_pt);
  public:
+  // Called as part of the runtime services initialization which is
+  // called from the management module initialization (via init_globals())
+  // after argument parsing and attaching of the main thread has
+  // occurred.  Examines a variety of the hardware capabilities of
+  // the platform to determine which features can be used to execute the
+  // program.
   static void initialize();
 
   // This allows for early initialization of VM_Version information
@@ -65,6 +71,11 @@
   // need to specialize this define VM_Version::early_initialize().
   static void early_initialize() { }
 
+  // Called to initialize VM variables needing initialization
+  // after command line parsing. Platforms that need to specialize
+  // this should define VM_Version::init_before_ergo().
+  static void init_before_ergo() {}
+
   // Name
   static const char* vm_name();
   // Vendor