hotspot/src/share/vm/utilities/vmError.cpp
changeset 46320 a38f07dfcf47
parent 46284 ad578adff5df
child 46476 8ead62daaa47
--- a/hotspot/src/share/vm/utilities/vmError.cpp	Thu Mar 09 10:48:44 2017 +0100
+++ b/hotspot/src/share/vm/utilities/vmError.cpp	Wed Mar 08 19:25:15 2017 +0100
@@ -1323,6 +1323,7 @@
     }
 
     report(&log, true);
+    log_done = true;
     _current_step = 0;
     _current_step_info = "";
 
@@ -1343,7 +1344,6 @@
     }
 
     log.set_fd(-1);
-    log_done = true;
   }
 
   static bool skip_replay = ReplayCompiles; // Do not overwrite file during replay