< prev index next >

src/hotspot/share/code/dependencyContext.cpp

Print this page

        

@@ -216,22 +216,10 @@
     _perf_total_buckets_deallocated_count->inc(removed);
   }
   return marked;
 }
 
-void DependencyContext::wipe() {
-  assert_locked_or_safepoint(CodeCache_lock);
-  nmethodBucket* b = dependencies();
-  set_dependencies(NULL);
-  set_has_stale_entries(false);
-  while (b != NULL) {
-    nmethodBucket* next = b->next();
-    delete b;
-    b = next;
-  }
-}
-
 #ifndef PRODUCT
 void DependencyContext::print_dependent_nmethods(bool verbose) {
   int idx = 0;
   for (nmethodBucket* b = dependencies(); b != NULL; b = b->next()) {
     nmethod* nm = b->get_nmethod();
< prev index next >