--- old/src/os/bsd/vm/os_bsd.cpp 2014-12-10 22:33:52.106284501 +0900 +++ new/src/os/bsd/vm/os_bsd.cpp 2014-12-10 22:33:51.850284503 +0900 @@ -4673,7 +4673,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);