src/os/windows/vm/os_windows.cpp

Print this page

        

@@ -1001,21 +1001,21 @@
   static const char* cwd;
 
 // Default is to always create dump for debug builds, on product builds only dump on server versions of Windows.
 #ifndef ASSERT
   // If running on a client version of Windows and user has not explicitly enabled dumping
-  if (!os::win32::is_windows_server() && !CreateMinidumpOnCrash) {
-    VMError::report_coredump_status("Minidumps are not enabled by default on client versions of Windows", false);
+  if (!os::win32::is_windows_server() && !CreateCoredumpOnCrash) {
+    VMError::report_coredump_status("Coredumps are not enabled by default on client versions of Windows", false);
     return;
     // If running on a server version of Windows and user has explictly disabled dumping
-  } else if (os::win32::is_windows_server() && !FLAG_IS_DEFAULT(CreateMinidumpOnCrash) && !CreateMinidumpOnCrash) {
-    VMError::report_coredump_status("Minidump has been disabled from the command line", false);
+  } else if (os::win32::is_windows_server() && !FLAG_IS_DEFAULT(CreateCoredumpOnCrash) && !CreateCoredumpOnCrash) {
+    VMError::report_coredump_status("Coredump has been disabled from the command line", false);
     return;
   }
 #else
-  if (!FLAG_IS_DEFAULT(CreateMinidumpOnCrash) && !CreateMinidumpOnCrash) {
-    VMError::report_coredump_status("Minidump has been disabled from the command line", false);
+  if (!FLAG_IS_DEFAULT(CreateCoredumpOnCrash) && !CreateCoredumpOnCrash) {
+    VMError::report_coredump_status("Coredump has been disabled from the command line", false);
     return;
   }
 #endif
 
   dbghelp = os::win32::load_Windows_dll("DBGHELP.DLL", NULL, 0);