--- old/src/hotspot/share/jfr/jfr.cpp 2019-11-29 23:29:01.366283800 +0900 +++ new/src/hotspot/share/jfr/jfr.cpp 2019-11-29 23:29:00.703120500 +0900 @@ -29,6 +29,7 @@ #include "jfr/recorder/jfrRecorder.hpp" #include "jfr/recorder/checkpoint/jfrCheckpointManager.hpp" #include "jfr/recorder/repository/jfrEmergencyDump.hpp" +#include "jfr/recorder/repository/jfrRepository.hpp" #include "jfr/recorder/service/jfrOptionSet.hpp" #include "jfr/support/jfrThreadLocal.hpp" #include "runtime/java.hpp" @@ -114,3 +115,11 @@ bool Jfr::on_start_flight_recording_option(const JavaVMOption** option, char* delimiter) { return JfrOptionSet::parse_start_flight_recording_option(option, delimiter); } + +const char* Jfr::get_emergency_dump_path() { + return JfrEmergencyDump::dump_path(); +} + +const char* Jfr::get_repository_path() { + return JfrRepository::get_path(); +}