--- old/src/os/bsd/vm/os_bsd.cpp 2014-10-15 22:48:56.776723663 +0900 +++ new/src/os/bsd/vm/os_bsd.cpp 2014-10-15 22:48:56.616724958 +0900 @@ -4689,7 +4689,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 or core.%d", current_process_id()); // Truncate if theoretical string was longer than bufferSize n = MIN2(n, (int)bufferSize);