< prev index next >

src/share/vm/runtime/arguments.cpp

Print this page
rev 13288 : imported patch 8181917-refactor-ul-logstream

*** 4263,4273 **** if (_gc_log_filename != NULL) { // -Xloggc was used to specify a filename const char* gc_conf = PrintGCDetails ? "gc*" : "gc"; LogTarget(Error, logging) target; ! LogStreamCHeap errstream(target); return LogConfiguration::parse_log_arguments(_gc_log_filename, gc_conf, NULL, NULL, &errstream); } else if (PrintGC || PrintGCDetails) { LogConfiguration::configure_stdout(LogLevel::Info, !PrintGCDetails, LOG_TAGS(gc)); } return true; --- 4263,4273 ---- if (_gc_log_filename != NULL) { // -Xloggc was used to specify a filename const char* gc_conf = PrintGCDetails ? "gc*" : "gc"; LogTarget(Error, logging) target; ! LogStream errstream(target); return LogConfiguration::parse_log_arguments(_gc_log_filename, gc_conf, NULL, NULL, &errstream); } else if (PrintGC || PrintGCDetails) { LogConfiguration::configure_stdout(LogLevel::Info, !PrintGCDetails, LOG_TAGS(gc)); } return true;
< prev index next >