hotspot/src/share/vm/runtime/arguments.cpp
changeset 46701 f559541c0daa
parent 46655 d5ecb8ef2b93
child 46705 99020a8905b6
equal deleted inserted replaced
46700:e097aad8f3f8 46701:f559541c0daa
  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;