< prev index next >

src/hotspot/share/runtime/java.hpp

Print this page

 42 extern void vm_direct_exit(int code);
 43 extern void vm_direct_exit(int code, const char* message);
 44 
 45 // Shutdown the VM but do not exit the process
 46 extern void vm_shutdown();
 47 // Shutdown the VM and abort the process
 48 extern void vm_abort(bool dump_core=true);
 49 
 50 // Trigger any necessary notification of the VM being shutdown
 51 extern void notify_vm_shutdown();
 52 
 53 // VM exit if error occurs during initialization of VM
 54 extern void vm_exit_during_initialization();
 55 extern void vm_exit_during_initialization(Handle exception);
 56 extern void vm_exit_during_initialization(Symbol* exception_name, const char* message);
 57 extern void vm_exit_during_initialization(const char* error, const char* message = nullptr);
 58 extern void vm_shutdown_during_initialization(const char* error, const char* message = nullptr);
 59 
 60 extern void vm_exit_during_cds_dumping(const char* error, const char* message = nullptr);
 61 





 62 // This is defined in linkType.cpp due to linking restraints
 63 extern bool is_vm_statically_linked();
 64 
 65 /**
 66  * With the integration of the changes to handle the version string
 67  * as defined by JEP-223, most of the code related to handle the version
 68  * string prior to JDK 1.6 was removed (partial initialization)
 69  */
 70 class JDK_Version {
 71   friend class VMStructs;
 72   friend class Universe;
 73   friend void JDK_Version_init();
 74  private:
 75 
 76   static JDK_Version _current;
 77   static const char* _java_version;
 78   static const char* _runtime_name;
 79   static const char* _runtime_version;
 80   static const char* _runtime_vendor_version;
 81   static const char* _runtime_vendor_vm_bug_url;

 42 extern void vm_direct_exit(int code);
 43 extern void vm_direct_exit(int code, const char* message);
 44 
 45 // Shutdown the VM but do not exit the process
 46 extern void vm_shutdown();
 47 // Shutdown the VM and abort the process
 48 extern void vm_abort(bool dump_core=true);
 49 
 50 // Trigger any necessary notification of the VM being shutdown
 51 extern void notify_vm_shutdown();
 52 
 53 // VM exit if error occurs during initialization of VM
 54 extern void vm_exit_during_initialization();
 55 extern void vm_exit_during_initialization(Handle exception);
 56 extern void vm_exit_during_initialization(Symbol* exception_name, const char* message);
 57 extern void vm_exit_during_initialization(const char* error, const char* message = nullptr);
 58 extern void vm_shutdown_during_initialization(const char* error, const char* message = nullptr);
 59 
 60 extern void vm_exit_during_cds_dumping(const char* error, const char* message = nullptr);
 61 
 62 extern void perf_jvm_print_on(outputStream* st);
 63 extern void perf_deoptimization_print_on(outputStream* st);
 64 
 65 extern void log_vm_init_stats();
 66 
 67 // This is defined in linkType.cpp due to linking restraints
 68 extern bool is_vm_statically_linked();
 69 
 70 /**
 71  * With the integration of the changes to handle the version string
 72  * as defined by JEP-223, most of the code related to handle the version
 73  * string prior to JDK 1.6 was removed (partial initialization)
 74  */
 75 class JDK_Version {
 76   friend class VMStructs;
 77   friend class Universe;
 78   friend void JDK_Version_init();
 79  private:
 80 
 81   static JDK_Version _current;
 82   static const char* _java_version;
 83   static const char* _runtime_name;
 84   static const char* _runtime_version;
 85   static const char* _runtime_vendor_version;
 86   static const char* _runtime_vendor_vm_bug_url;
< prev index next >