hotspot/src/share/vm/runtime/arguments.cpp
changeset 44994 1c32d3f0daf0
parent 44836 45196b7066e3
parent 44993 f61bcd80ec1f
child 45057 a93a8a7f862f
child 45628 ea212c4584d7
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Fri Apr 28 02:54:05 2017 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Thu May 04 09:43:45 2017 +0100
@@ -2838,11 +2838,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")) {