< prev index next >

hotspot/src/share/vm/runtime/vm_version.hpp

Print this page
rev 7517 : 8080776: ARM 32 bit binaries do not run on 64 bit ARM v8 hardware
Summary: Need to know arm cpu type earlier in the init sequence to avoid illegal instruction
Reviewed-by: dholmes, dlong, bdelsart

@@ -54,10 +54,17 @@
                                                   unsigned int dem,
                                                   unsigned int switch_pt);
  public:
   static void initialize();
 
+  // This allows for early initialization of VM_Version information
+  // that may be needed later in the initialization sequence but before
+  // full VM_Version initialization is possible. It can not depend on any
+  // other part of the VM being initialized when called. Platforms that
+  // need to specialize this define VM_Version::early_initialize().
+  static void early_initialize() { }
+
   // Name
   static const char* vm_name();
   // Vendor
   static const char* vm_vendor();
   // VM version information string printed by launcher (java -version)
< prev index next >