comparison src/share/vm/utilities/events.cpp @ 4944:09d00c18e323

7145537: minor tweaks to LogEvents Reviewed-by: kvn, twisti
author never
date Wed, 15 Feb 2012 10:12:55 -0800
parents aa3d708d67c4
children f34d701e952e
comparison
equal deleted inserted replaced
4943:80107dc493db 4944:09d00c18e323
66 log->print_log_on(out); 66 log->print_log_on(out);
67 log = log->next(); 67 log = log->next();
68 } 68 }
69 } 69 }
70 70
71 void Events::print() {
72 print_all(tty);
73 }
74
71 void Events::init() { 75 void Events::init() {
72 if (LogEvents) { 76 if (LogEvents) {
73 _messages = new StringEventLog("Events"); 77 _messages = new StringEventLog("Events");
74 _exceptions = new StringEventLog("Internal exceptions"); 78 _exceptions = new StringEventLog("Internal exceptions");
75 _deopt_messages = new StringEventLog("Deoptimization events"); 79 _deopt_messages = new StringEventLog("Deoptimization events");