src/hotspot/share/runtime/jniHandles.cpp
changeset 47649 12623954920e
parent 47216 71c04702a3d5
child 47779 24022215d092
--- a/src/hotspot/share/runtime/jniHandles.cpp	Wed Oct 18 21:13:35 2017 +0200
+++ b/src/hotspot/share/runtime/jniHandles.cpp	Wed Oct 18 21:15:01 2017 +0200
@@ -27,7 +27,6 @@
 #include "logging/log.hpp"
 #include "memory/iterator.hpp"
 #include "oops/oop.inline.hpp"
-#include "prims/jvmtiExport.hpp"
 #include "runtime/jniHandles.hpp"
 #include "runtime/mutexLocker.hpp"
 #include "runtime/thread.inline.hpp"
@@ -424,12 +423,6 @@
       break;
     }
   }
-
-  /*
-   * JVMTI data structures may also contain weak oops.  The iteration of them
-   * is placed here so that we don't need to add it to each of the collectors.
-   */
-  JvmtiExport::weak_oops_do(is_alive, f);
 }