--- old/src/os/bsd/vm/os_bsd.cpp 2014-11-30 00:17:08.061826447 +0900 +++ new/src/os/bsd/vm/os_bsd.cpp 2014-11-30 00:17:07.889827647 +0900 @@ -4681,7 +4681,7 @@ // Get the default path to the core file // Returns the length of the string int os::get_core_path(char* buffer, size_t bufferSize) { - int n = jio_snprintf(buffer, bufferSize, "/cores"); + int n = jio_snprintf(buffer, bufferSize, "/cores/core.%d", current_process_id()); // Truncate if theoretical string was longer than bufferSize n = MIN2(n, (int)bufferSize);