hotspot/src/share/vm/runtime/arguments.cpp
changeset 44993 f61bcd80ec1f
parent 44741 c5de7263722b
child 44994 1c32d3f0daf0
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Sat Apr 22 12:05:20 2017 +0200
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Thu May 04 07:26:28 2017 +0000
@@ -2837,11 +2837,14 @@
         build_jvm_args(option->optionString);
     }
 
-    // -verbose:[class/gc/jni]
+    // -verbose:[class/module/gc/jni]
     if (match_option(option, "-verbose", &tail)) {
       if (!strcmp(tail, ":class") || !strcmp(tail, "")) {
         LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(class, load));
         LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(class, unload));
+      } else if (!strcmp(tail, ":module")) {
+        LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(module, load));
+        LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(module, unload));
       } else if (!strcmp(tail, ":gc")) {
         LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(gc));
       } else if (!strcmp(tail, ":jni")) {