hotspot/src/share/vm/memory/universe.cpp
changeset 40667 f9cf2db7f59f
parent 40655 9f644073d3a0
child 40892 330a02d935ad
equal deleted inserted replaced
40666:83beca9dbc5f 40667:f9cf2db7f59f
  1127       verify_flags |= Verify_ClassLoaderDataGraph;
  1127       verify_flags |= Verify_ClassLoaderDataGraph;
  1128     } else if (strcmp(token, "metaspace") == 0) {
  1128     } else if (strcmp(token, "metaspace") == 0) {
  1129       verify_flags |= Verify_MetaspaceAux;
  1129       verify_flags |= Verify_MetaspaceAux;
  1130     } else if (strcmp(token, "jni_handles") == 0) {
  1130     } else if (strcmp(token, "jni_handles") == 0) {
  1131       verify_flags |= Verify_JNIHandles;
  1131       verify_flags |= Verify_JNIHandles;
  1132     } else if (strcmp(token, "c-heap") == 0) {
       
  1133       verify_flags |= Verify_CHeap;
       
  1134     } else if (strcmp(token, "codecache_oops") == 0) {
  1132     } else if (strcmp(token, "codecache_oops") == 0) {
  1135       verify_flags |= Verify_CodeCacheOops;
  1133       verify_flags |= Verify_CodeCacheOops;
  1136     } else {
  1134     } else {
  1137       vm_exit_during_initialization(err_msg("VerifySubSet: \'%s\' memory sub-system is unknown, please correct it", token));
  1135       vm_exit_during_initialization(err_msg("VerifySubSet: \'%s\' memory sub-system is unknown, please correct it", token));
  1138     }
  1136     }
  1205     MetaspaceAux::verify_free_chunks();
  1203     MetaspaceAux::verify_free_chunks();
  1206   }
  1204   }
  1207   if (should_verify_subset(Verify_JNIHandles)) {
  1205   if (should_verify_subset(Verify_JNIHandles)) {
  1208     log_debug(gc, verify)("JNIHandles");
  1206     log_debug(gc, verify)("JNIHandles");
  1209     JNIHandles::verify();
  1207     JNIHandles::verify();
  1210   }
       
  1211   if (should_verify_subset(Verify_CHeap)) {
       
  1212     log_debug(gc, verify)("C-heap");
       
  1213     os::check_heap();
       
  1214   }
  1208   }
  1215   if (should_verify_subset(Verify_CodeCacheOops)) {
  1209   if (should_verify_subset(Verify_CodeCacheOops)) {
  1216     log_debug(gc, verify)("CodeCache Oops");
  1210     log_debug(gc, verify)("CodeCache Oops");
  1217     CodeCache::verify_oops();
  1211     CodeCache::verify_oops();
  1218   }
  1212   }