src/hotspot/share/memory/universe.cpp
changeset 54574 7b74bbe5085b
parent 53924 09cba396916f
child 54623 1126f0607c70
--- a/src/hotspot/share/memory/universe.cpp	Thu Apr 18 07:02:07 2019 -0400
+++ b/src/hotspot/share/memory/universe.cpp	Wed Apr 17 07:41:09 2019 +0200
@@ -1151,6 +1151,8 @@
       verify_flags |= Verify_JNIHandles;
     } else if (strcmp(token, "codecache_oops") == 0) {
       verify_flags |= Verify_CodeCacheOops;
+    } else if (strcmp(token, "resolved_method_table") == 0) {
+      verify_flags |= Verify_ResolvedMethodTable;
     } else {
       vm_exit_during_initialization(err_msg("VerifySubSet: \'%s\' memory sub-system is unknown, please correct it", token));
     }
@@ -1230,6 +1232,10 @@
     log_debug(gc, verify)("CodeCache Oops");
     CodeCache::verify_oops();
   }
+  if (should_verify_subset(Verify_ResolvedMethodTable)) {
+    log_debug(gc, verify)("ResolvedMethodTable Oops");
+    ResolvedMethodTable::verify();
+  }
 
   _verify_in_progress = false;
 }