src/os/solaris/vm/os_solaris.cpp

Print this page

        

@@ -6043,10 +6043,12 @@
   if (p == NULL) {
     assert(p != NULL, "failed to get current directory");
     return 0;
   }
 
+  jio_snprintf(buffer, bufferSize, "%s/core or core.%d", current_process_id());
+
   return strlen(buffer);
 }
 
 #ifndef PRODUCT
 void TestReserveMemorySpecial_test() {