hotspot/src/share/vm/runtime/os.hpp
changeset 13198 271c557a7623
parent 13195 be27e1b6a4b9
child 13859 7fe4578493fc
--- a/hotspot/src/share/vm/runtime/os.hpp	Tue Jul 03 01:41:29 2012 -0400
+++ b/hotspot/src/share/vm/runtime/os.hpp	Tue Jul 03 17:35:00 2012 -0700
@@ -665,6 +665,10 @@
   // On Windows this will create an actual minidump, on Linux/Solaris it will simply check core dump limits
   static void check_or_create_dump(void* exceptionRecord, void* contextRecord, char* buffer, size_t bufferSize);
 
+  // Get the default path to the core file
+  // Returns the length of the string
+  static int get_core_path(char* buffer, size_t bufferSize);
+
   // JVMTI & JVM monitoring and management support
   // The thread_cpu_time() and current_thread_cpu_time() are only
   // supported if is_thread_cpu_time_supported() returns true.