comparison src/share/vm/utilities/vmError.cpp @ 17622:849eb7bfceac

8028468: Add inlining information into ciReplay Summary: Allow dump and replay inlining for specified method during a program execution. Reviewed-by: roland, twisti
author kvn
date Wed, 08 Jan 2014 10:25:50 -0800
parents 5cc2d82aa82a
children d8041d695d19 e0365e7b7454
comparison
equal deleted inserted replaced
17621:df8573b1a44c 17622:849eb7bfceac
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));