comparison src/share/vm/utilities/vmError.cpp @ 14518:d8041d695d19

Merged with jdk9/dev/hotspot changeset 3812c088b945
author twisti
date Tue, 11 Mar 2014 18:45:59 -0700
parents 096c224171c4 183bd5c00828
children b51e29501f30 4ca6dc0799b6
comparison
equal deleted inserted replaced
14141:f97c5ec83832 14518:d8041d695d19
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));