< prev index next >

src/hotspot/share/memory/universe.cpp

Print this page
rev 57601 : [mq]: metaspace-improvement


1101   }
1102   if (should_verify_subset(Verify_CodeCache)) {
1103   {
1104     MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
1105     log_debug(gc, verify)("CodeCache");
1106     CodeCache::verify();
1107   }
1108   }
1109   if (should_verify_subset(Verify_SystemDictionary)) {
1110     log_debug(gc, verify)("SystemDictionary");
1111     SystemDictionary::verify();
1112   }
1113 #ifndef PRODUCT
1114   if (should_verify_subset(Verify_ClassLoaderDataGraph)) {
1115     log_debug(gc, verify)("ClassLoaderDataGraph");
1116     ClassLoaderDataGraph::verify();
1117   }
1118 #endif
1119   if (should_verify_subset(Verify_MetaspaceUtils)) {
1120     log_debug(gc, verify)("MetaspaceUtils");
1121     MetaspaceUtils::verify_free_chunks();
1122   }
1123   if (should_verify_subset(Verify_JNIHandles)) {
1124     log_debug(gc, verify)("JNIHandles");
1125     JNIHandles::verify();
1126   }
1127   if (should_verify_subset(Verify_CodeCacheOops)) {
1128     log_debug(gc, verify)("CodeCache Oops");
1129     CodeCache::verify_oops();
1130   }
1131   if (should_verify_subset(Verify_ResolvedMethodTable)) {
1132     log_debug(gc, verify)("ResolvedMethodTable Oops");
1133     ResolvedMethodTable::verify();
1134   }
1135 
1136   _verify_in_progress = false;
1137 }
1138 
1139 
1140 #ifndef PRODUCT
1141 void Universe::calculate_verify_data(HeapWord* low_boundary, HeapWord* high_boundary) {




1101   }
1102   if (should_verify_subset(Verify_CodeCache)) {
1103   {
1104     MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
1105     log_debug(gc, verify)("CodeCache");
1106     CodeCache::verify();
1107   }
1108   }
1109   if (should_verify_subset(Verify_SystemDictionary)) {
1110     log_debug(gc, verify)("SystemDictionary");
1111     SystemDictionary::verify();
1112   }
1113 #ifndef PRODUCT
1114   if (should_verify_subset(Verify_ClassLoaderDataGraph)) {
1115     log_debug(gc, verify)("ClassLoaderDataGraph");
1116     ClassLoaderDataGraph::verify();
1117   }
1118 #endif
1119   if (should_verify_subset(Verify_MetaspaceUtils)) {
1120     log_debug(gc, verify)("MetaspaceUtils");
1121     DEBUG_ONLY(MetaspaceUtils::verify(true);)
1122   }
1123   if (should_verify_subset(Verify_JNIHandles)) {
1124     log_debug(gc, verify)("JNIHandles");
1125     JNIHandles::verify();
1126   }
1127   if (should_verify_subset(Verify_CodeCacheOops)) {
1128     log_debug(gc, verify)("CodeCache Oops");
1129     CodeCache::verify_oops();
1130   }
1131   if (should_verify_subset(Verify_ResolvedMethodTable)) {
1132     log_debug(gc, verify)("ResolvedMethodTable Oops");
1133     ResolvedMethodTable::verify();
1134   }
1135 
1136   _verify_in_progress = false;
1137 }
1138 
1139 
1140 #ifndef PRODUCT
1141 void Universe::calculate_verify_data(HeapWord* low_boundary, HeapWord* high_boundary) {


< prev index next >