< prev index next >

src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.hpp

Print this page

        

*** 24,40 **** --- 24,47 ---- #ifndef SHARE_JFR_RECORDER_REPOSITORY_JFREMERGENCYDUMP_HPP #define SHARE_JFR_RECORDER_REPOSITORY_JFREMERGENCYDUMP_HPP #include "memory/allocation.hpp" + #include "jfr/utilities/jfrTypes.hpp" // // Responsible for creating an hs_err<pid>.jfr file in exceptional shutdown situations (crash, OOM) // class JfrEmergencyDump : AllStatic { + private: + static char _dump_path[]; + static const char* create_emergency_dump_path(); + static const char* create_emergency_chunk_path(const char* repository_path); + static fio_fd emergency_dump_file_descriptor(); public: static void on_vm_shutdown(bool exception_handler); static void on_vm_error(const char* repository_path); static const char* build_dump_path(const char* repository_path); + static const char* dump_path() { return _dump_path; } }; #endif // SHARE_JFR_RECORDER_REPOSITORY_JFREMERGENCYDUMP_HPP
< prev index next >