Mercurial > hg > truffle
comparison src/share/vm/utilities/vmError.cpp @ 14521:29ccc4cbabca
Merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 12 Mar 2014 13:30:08 +0100 |
parents | d8041d695d19 |
children | b51e29501f30 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14520:f84115370178 | 14521:29ccc4cbabca |
---|---|
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)); |