hotspot/src/share/vm/utilities/vmError.cpp
changeset 22243 91944eab7b92
parent 20692 65021f70c2fc
child 23204 e5c4480df562
--- a/hotspot/src/share/vm/utilities/vmError.cpp	Wed Jan 08 12:05:19 2014 +0100
+++ b/hotspot/src/share/vm/utilities/vmError.cpp	Wed Jan 08 10:25:50 2014 -0800
@@ -1040,7 +1040,7 @@
     OnError = NULL;
   }
 
-  static bool skip_replay = false;
+  static bool skip_replay = ReplayCompiles; // Do not overwrite file during replay
   if (DumpReplayDataOnError && _thread && _thread->is_Compiler_thread() && !skip_replay) {
     skip_replay = true;
     ciEnv* env = ciEnv::current();