1.1 --- a/src/share/vm/utilities/vmError.cpp Wed Jan 08 12:05:19 2014 +0100 1.2 +++ b/src/share/vm/utilities/vmError.cpp Wed Jan 08 10:25:50 2014 -0800 1.3 @@ -1040,7 +1040,7 @@ 1.4 OnError = NULL; 1.5 } 1.6 1.7 - static bool skip_replay = false; 1.8 + static bool skip_replay = ReplayCompiles; // Do not overwrite file during replay 1.9 if (DumpReplayDataOnError && _thread && _thread->is_Compiler_thread() && !skip_replay) { 1.10 skip_replay = true; 1.11 ciEnv* env = ciEnv::current();