< prev index next >

src/hotspot/share/gc/g1/g1HeapVerifier.cpp

Print this page
rev 48019 : 8191821: Finer granularity for GC verification
Reviewed-by:
rev 48020 : [mq]: 8191821-rev-sang-poonam

@@ -386,16 +386,16 @@
   } else if (strcmp(type, "cleanup") == 0) {
     enable_verification_type(G1VerifyCleanup);
   } else if (strcmp(type, "full") == 0) {
     enable_verification_type(G1VerifyFull);
   } else {
-    log_warning(gc, verify)("VerifyGCType: '%s' is unknown. Available are: young, mixed, remark, cleanup and full ", type);
+    log_warning(gc, verify)("VerifyGCType: '%s' is unknown. Available types are: young, mixed, remark, cleanup and full", type);
   }
 }
 
 void G1HeapVerifier::enable_verification_type(G1VerifyType type) {
-  // First enable will clear _types.
+  // First enable will clear _enabled_verification_types.
   if (_enabled_verification_types == G1VerifyAll) {
     _enabled_verification_types = type;
   } else {
     _enabled_verification_types |= type;
   }
< prev index next >