src/share/vm/utilities/vmError.cpp

changeset 6503
a9becfeecd1b
parent 6217
849eb7bfceac
child 6357
f8068fa6aa46
equal deleted inserted replaced
6502:3514ee402842 6503:a9becfeecd1b
1038 1038
1039 // done with OnError 1039 // done with OnError
1040 OnError = NULL; 1040 OnError = NULL;
1041 } 1041 }
1042 1042
1043 static bool skip_replay = false; 1043 static bool skip_replay = ReplayCompiles; // Do not overwrite file during replay
1044 if (DumpReplayDataOnError && _thread && _thread->is_Compiler_thread() && !skip_replay) { 1044 if (DumpReplayDataOnError && _thread && _thread->is_Compiler_thread() && !skip_replay) {
1045 skip_replay = true; 1045 skip_replay = true;
1046 ciEnv* env = ciEnv::current(); 1046 ciEnv* env = ciEnv::current();
1047 if (env != NULL) { 1047 if (env != NULL) {
1048 int fd = prepare_log_file(ReplayDataFile, "replay_pid%p.log", buffer, sizeof(buffer)); 1048 int fd = prepare_log_file(ReplayDataFile, "replay_pid%p.log", buffer, sizeof(buffer));

mercurial