src/hotspot/share/code/dependencyContext.cpp
changeset 51887 32161fbea3fe
parent 48955 e22914003cf0
child 52781 436097b038a1
--- a/src/hotspot/share/code/dependencyContext.cpp	Tue Sep 25 21:33:51 2018 -0700
+++ b/src/hotspot/share/code/dependencyContext.cpp	Wed Sep 26 14:01:48 2018 -0400
@@ -218,18 +218,6 @@
   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;