equal
deleted
inserted
replaced
4263 if (_gc_log_filename != NULL) { |
4263 if (_gc_log_filename != NULL) { |
4264 // -Xloggc was used to specify a filename |
4264 // -Xloggc was used to specify a filename |
4265 const char* gc_conf = PrintGCDetails ? "gc*" : "gc"; |
4265 const char* gc_conf = PrintGCDetails ? "gc*" : "gc"; |
4266 |
4266 |
4267 LogTarget(Error, logging) target; |
4267 LogTarget(Error, logging) target; |
4268 LogStreamCHeap errstream(target); |
4268 LogStream errstream(target); |
4269 return LogConfiguration::parse_log_arguments(_gc_log_filename, gc_conf, NULL, NULL, &errstream); |
4269 return LogConfiguration::parse_log_arguments(_gc_log_filename, gc_conf, NULL, NULL, &errstream); |
4270 } else if (PrintGC || PrintGCDetails) { |
4270 } else if (PrintGC || PrintGCDetails) { |
4271 LogConfiguration::configure_stdout(LogLevel::Info, !PrintGCDetails, LOG_TAGS(gc)); |
4271 LogConfiguration::configure_stdout(LogLevel::Info, !PrintGCDetails, LOG_TAGS(gc)); |
4272 } |
4272 } |
4273 return true; |
4273 return true; |