--- a/src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp Sun Sep 29 16:12:47 2019 +0200
+++ b/src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp Mon Sep 30 13:27:55 2019 +0200
@@ -305,7 +305,7 @@
return NULL;
}
// append the individual substrings
- jio_snprintf(chunk_path, chunkname_max_len, "%s%s%s%s", repository_path_len, os::file_separator(), date_time_buffer, chunk_file_jfr_ext);
+ jio_snprintf(chunk_path, chunkname_max_len, "%s%s%s%s", repository_path, os::file_separator(), date_time_buffer, chunk_file_jfr_ext);
return chunk_path;
}